diff options
-rw-r--r-- | makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -20,8 +20,9 @@ clean: | |||
20 | 20 | ||
21 | prepare: | 21 | prepare: |
22 | rm -rf $(pkgname)-$(pkgver) | 22 | rm -rf $(pkgname)-$(pkgver) |
23 | rm -f $(pkgname)*.orig.tar.gz | ||
23 | debian/rules clean | 24 | debian/rules clean |
24 | rsync -avPr ./ $(pkgname)-$(pkgver) | 25 | rsync -avPr --exclude .git ./ $(pkgname)-$(pkgver) |
25 | tar czf $(pkgname)_$(pkgver).orig.tar.gz $(pkgname)-$(pkgver) | 26 | tar czf $(pkgname)_$(pkgver).orig.tar.gz $(pkgname)-$(pkgver) |
26 | 27 | ||
27 | debian: prepare | 28 | debian: prepare |
@@ -43,6 +44,7 @@ uninstall: | |||
43 | rm -rf $(DESTDIR)etc/default/my-x200 | 44 | rm -rf $(DESTDIR)etc/default/my-x200 |
44 | rm -rf $(DESTDIR)etc/acpi/events/my-x200-lid | 45 | rm -rf $(DESTDIR)etc/acpi/events/my-x200-lid |
45 | rm -rf $(DESTDIR)etc/acpi/events/my-x200-sleep | 46 | rm -rf $(DESTDIR)etc/acpi/events/my-x200-sleep |
47 | rm -rf $(DESTDIR)etc/acpi/events/my-x200-suspend | ||
46 | rm -rf $(DESTDIR)etc/acpi/my-x200.sh | 48 | rm -rf $(DESTDIR)etc/acpi/my-x200.sh |
47 | 49 | ||
48 | .PHONY: all clean install uninstall prepare debian debian_package | 50 | .PHONY: all clean install uninstall prepare debian debian_package |