52 lines
2.2 KiB
Diff
52 lines
2.2 KiB
Diff
From: Carlos Maddela <e7appew@gmail.com>
|
|
Date: Mon, 19 Dec 2016 05:06:30 +1100
|
|
Subject: Do not install cruft.
|
|
|
|
Description: Do not install cruft.
|
|
Author: Carlos Maddela <e7appew@gmail.com>
|
|
Forwarded: not-needed
|
|
Last-Update: 2017-12-21
|
|
---
|
|
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
|
---
|
|
GNUmakefile.template | 19 -------------------
|
|
1 file changed, 19 deletions(-)
|
|
|
|
diff --git a/GNUmakefile.template b/GNUmakefile.template
|
|
index 77a57bf..6fda92b 100644
|
|
--- a/GNUmakefile.template
|
|
+++ b/GNUmakefile.template
|
|
@@ -228,12 +228,6 @@ install: dvdisaster manual
|
|
install -d $(BUILDROOT)$(BINDIR)
|
|
install dvdisaster $(BUILDROOT)$(BINDIR)
|
|
install -d $(BUILDROOT)$(DOCSUBDIR)
|
|
- install -m 644 CHANGELOG $(BUILDROOT)$(DOCSUBDIR)
|
|
- install -m 644 COPYING $(BUILDROOT)$(DOCSUBDIR)
|
|
- install -m 644 CREDITS* $(BUILDROOT)$(DOCSUBDIR)
|
|
- install -m 644 README.MODIFYING $(BUILDROOT)$(DOCSUBDIR)
|
|
- install -m 644 TODO $(BUILDROOT)$(DOCSUBDIR)
|
|
- install -d $(BUILDROOT)$(DOCSUBDIR)
|
|
(cd documentation/user-manual; install -m 644 manual.pdf $(BUILDROOT)$(DOCSUBDIR))
|
|
install -d $(BUILDROOT)$(MANDIR)/man1
|
|
install -d $(BUILDROOT)$(MANDIR)/de/man1
|
|
@@ -251,19 +245,6 @@ install: dvdisaster manual
|
|
install -m 644 $$i/LC_MESSAGES/dvdisaster.mo $(BUILDROOT)$(LOCALEDIR)/$$i/LC_MESSAGES; \
|
|
done \
|
|
fi
|
|
- @echo "# dvdisaster uninstaller script" > $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
|
|
- @echo "# Usage: sh dvdisaster-uninstall.sh" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
|
|
- @echo >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
|
|
- @echo "rm -f $(BINDIR)/dvdisaster $(BINDIR)/dvdisaster-uninstall.sh" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
|
|
- @echo "rm -rf $(DOCSUBDIR)" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
|
|
- @for i in $(PO_LOCALES); do \
|
|
- echo "rm $(LOCALEDIR)/$$i/LC_MESSAGES/dvdisaster.mo" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ; \
|
|
- done
|
|
- @echo "rm -f $(MANDIR)/man1/dvdisaster.1" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
|
|
- @for i in $(MAN_LOCALES); do \
|
|
- echo "rm $(MANDIR)/$$i/man1/dvdisaster.1" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh ; \
|
|
- done
|
|
- @echo "echo \"dvdisaster has been uninstalled.\"" >> $(BUILDROOT)$(BINDIR)/dvdisaster-uninstall.sh
|
|
|
|
uninstall:
|
|
@echo "Uninstalling package..."
|