summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorBenjamin Drung <bdrung@ubuntu.com>2010-01-08 21:52:31 +0100
committerBenjamin Drung <bdrung@ubuntu.com>2010-01-08 21:52:31 +0100
commit6e3c4da4f384bfbb95e5fd74512ae1ce74dbcf24 (patch)
tree18d3490069a6b5529057573bf4b1677812956715 /src/Makefile
parent428cc61138a07f99904adfdfe1c25a348f1225f0 (diff)
Install manpages using debhelper instead of Makefile
- add debian/manpages - update src/Makefile
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/Makefile b/src/Makefile
index 4ced5c7..aa12a73 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -79,7 +79,7 @@ extra_dirs = \
build: $(subst_files)
-install: $(subst_files) $(extra_files) $(foreach dir,$(extra_dirs),$(wildcard $(dir)/*)) install-man
+install: $(subst_files) $(extra_files) $(foreach dir,$(extra_dirs),$(wildcard $(dir)/*))
install -m 755 -d $(DESTDIR)$(DATADIR) $(foreach dir,$(extra_dirs),$(DESTDIR)$(DATADIR)/$(dir))
install -m 644 $(subst_files) $(extra_files) $(DESTDIR)$(DATADIR)
install -m 755 -d $(DESTDIR)$(BINDIR)
@@ -98,14 +98,7 @@ install: $(subst_files) $(extra_files) $(foreach dir,$(extra_dirs),$(wildcard $(
mkdir -p $(DESTDIR)/usr/share/perl5/Debian/Debhelper/Sequence
install -m 644 xul-ext.pm $(DESTDIR)/usr/share/perl5/Debian/Debhelper/Sequence/xul_ext.pm
-install-man:
- install -D -m 644 ../man/dh_xul-ext.1 $(DESTDIR)$(MANDIR)/man1/dh_xul-ext.1
- install -D -m 644 ../man/install-xpi.1 $(DESTDIR)$(MANDIR)/man1/install-xpi.1
- install -D -m 644 ../man/moz-version.1 $(DESTDIR)$(MANDIR)/man1/moz-version.1
- install -D -m 644 ../man/xpi-pack.1 $(DESTDIR)$(MANDIR)/man1/xpi-pack.1
- install -D -m 644 ../man/xpi-unpack.1 $(DESTDIR)$(MANDIR)/man1/xpi-unpack.1
-
clean:
rm -f $(subst_files)
-.PHONY: clean install install-man
+.PHONY: clean install