aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2021-02-13 16:46:38 +0100
committerRobert Alessi <alessi@robertalessi.net>2021-02-13 16:46:38 +0100
commitcc0aaa695d448407d6df228ce64503aa22752b20 (patch)
treeca72c214bef17cbb50d2cd045e390006f197aa78 /makefile
parent15f1fdc7b5153070ac67a4f6c46b91e451b2ded4 (diff)
downloadmy-x200-cc0aaa695d448407d6df228ce64503aa22752b20.tar.gz
bugfix: removed self-included orig.tar.gz
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/makefile b/makefile
index c61238d..e46d700 100644
--- a/makefile
+++ b/makefile
@@ -20,8 +20,9 @@ clean:
20 20
21prepare: 21prepare:
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
27debian: prepare 28debian: 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