aboutsummaryrefslogtreecommitdiffstats
path: root/community/unison/makefile-fix-clean.patch
blob: 1b584d0f47ef8a45444945d6df09e66b3b52db1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$(FSMONITOR) starts with a hyphen, so it's interpreted as an option.
$(NAME) is empty, so -blob is interpreted as an option.

--- a/fsmonitor/linux/Makefile
+++ b/fsmonitor/linux/Makefile
@@ -26,4 +26,4 @@
 
 clean::
 	rm -f $(DIR)/*.cm[iox] $(DIR)/*.o $(DIR)/*~
-	rm -f $(FSMONITOR)$(EXEC_EXT)
\ No newline at end of file
+	rm -f -- $(FSMONITOR)$(EXEC_EXT)
--- a/Makefile
+++ b/Makefile
@@ -354,8 +354,8 @@
 clean::
 	-$(RM) *.log *.aux *.log *.dvi *.out *.bak
 	-$(RM) -r obsolete
-	-$(RM) $(NAME) $(NAME).exe
-	-$(RM) $(NAME)-blob.o
+	-$(RM) -- $(NAME) $(NAME).exe
+	-$(RM) -- $(NAME)-blob.o
 
 clean::
 	$(MAKE) -C ubase clean