diff options
author | Will Thompson <will@willthompson.co.uk> | 2012-04-01 16:56:19 +0100 |
---|---|---|
committer | Will Thompson <will@willthompson.co.uk> | 2012-04-05 08:56:03 +0100 |
commit | b08a784f6376310411c1eaefaf972de0826b62e6 (patch) | |
tree | 45f6bef629e57a36b1e344f3a694fdaf25a0c6c9 /Makefile | |
parent | 1755ec6d1e0d09d74de815a94dfeac8b7f4d88f4 (diff) |
Fix `make clean` in source tarballs
$ make clean
rm -f dist/build/bustle-pcap
if test -d -x86_64; then rm -r -x86_64; fi
rm -f -x86_64.tar.bz2
rm: invalid option -- 'x'
Thanks to Chris Lamb for reporting this.
https://bugs.freedesktop.org/show_bug.cgi?id=47908
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -28,8 +28,8 @@ uninstall: clean: rm -f $(BINARIES) - if test -d $(TARBALL_DIR); then rm -r $(TARBALL_DIR); fi - rm -f $(TARBALL) + if test -d ./$(TARBALL_DIR); then rm -r ./$(TARBALL_DIR); fi + rm -f ./$(TARBALL) # Binary tarball stuff. Please ignore this unless you're making a release. TOP := $(shell pwd) |