diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2014-03-23 01:10:54 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2014-03-23 01:12:35 +0000 |
commit | 75285b1c7340663b4e9b848b385ea50ebe3eac06 (patch) | |
tree | b7966791e9a811ff218d31a2617f78263d659f52 /debian/patches/01-patch-makefile.in-to-not-install-docs.patch | |
parent | 9068001d20353a23d423ae2e770b96300003b50f (diff) | |
download | wavemon-75285b1c7340663b4e9b848b385ea50ebe3eac06.tar.gz |
Manually install docs using dh (Closes: #736932)
Diffstat (limited to '')
-rw-r--r-- | debian/patches/01-patch-makefile.in-to-not-install-docs.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/01-patch-makefile.in-to-not-install-docs.patch b/debian/patches/01-patch-makefile.in-to-not-install-docs.patch new file mode 100644 index 0000000..e000145 --- /dev/null +++ b/debian/patches/01-patch-makefile.in-to-not-install-docs.patch @@ -0,0 +1,31 @@ +From: Jonathan McCrohan <jmccrohan@gmail.com> +Date: Sun, 23 Mar 2014 01:02:44 +0000 +Subject: Patch Makefile.in to not install docs; install using dh instead + +diff --git a/Makefile.in b/Makefile.in +index 0b27ad7..3cc8acc 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -22,7 +22,6 @@ MAIN = @PACKAGE_NAME@.c + HEADERS = @PACKAGE_NAME@.h llist.h iw_if.h + PURESRC = $(filter-out $(MAIN),$(wildcard *.c)) + OBJS = $(PURESRC:.c=.o) +-DOCS = README NEWS THANKS AUTHORS COPYING ChangeLog + + %.o: %.c $(HEADERS) + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(DEFS) -c -o $@ $< +@@ -49,13 +48,11 @@ install-suid-root install-binaries: all + $(INSTALL) -m 0755 -d $(DESTDIR)$(bindir) + $(INSTALL) -m $(exec_perms) @PACKAGE_NAME@ $(DESTDIR)$(bindir) + +-install-docs: @PACKAGE_NAME@.1 @PACKAGE_NAME@rc.5 $(DOCS) ++install-docs: @PACKAGE_NAME@.1 @PACKAGE_NAME@rc.5 + $(INSTALL) -m 0755 -d $(DESTDIR)$(mandir)/man1 + $(INSTALL) -m 0644 @PACKAGE_NAME@.1 $(DESTDIR)$(mandir)/man1 + $(INSTALL) -m 0755 -d $(DESTDIR)$(mandir)/man5 + $(INSTALL) -m 0644 @PACKAGE_NAME@rc.5 $(DESTDIR)$(mandir)/man5 +- $(INSTALL) -m 0755 -d $(DESTDIR)$(datadir) +- $(INSTALL) -m 0644 $(DOCS) $(DESTDIR)$(datadir) + + uninstall: + @$(RM) $(bindir)/@PACKAGE_NAME@ |