summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfergus.henderson <fergushenderson@users.noreply.github.com>2011-10-26 02:49:42 +0000
committerfergus.henderson <fergushenderson@users.noreply.github.com>2011-10-26 02:49:42 +0000
commit034b37c1bab542f73cb1100056706882a9547281 (patch)
treef67d9d00be61bc96cb859291fcfce4623c4dc97b
parentffff0a39697c9e6eea9bb9f00e348683cf414dde (diff)
downloaddistcc-git-034b37c1bab542f73cb1100056706882a9547281.tar.gz
After my change to gzip the man pages before installing them,
I had to make a couple more changes to get "make distcheck" to pass. Reviewed by Craig Silverstein.
-rw-r--r--Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index c626a70..df70d08 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -914,6 +914,7 @@ clean: clean-autoconf clean-lzo clean-include-server
rm -f src/*.[od] popt/*.[od]
rm -f test/*.pyc
rm -f $(check_PROGRAMS) $(bin_PROGRAMS)
+ rm -f `echo $(man1_MEN) | sed -e 's/ /.gz /g' -e 's/$$/.gz/'`
rm -f $(man_HTML)
rm -f distccmon-gnome
rm -rf _testtmp # produced by test/testdistcc.py and daemon-installcheck
@@ -1083,6 +1084,7 @@ install-man: $(man1_MEN)
$(mkinstalldirs) "$(DESTDIR)$(man1dir)"
for p in $(man1_MEN); do \
if $(GZIP_BIN) --help >/dev/null; then \
+ mkdir -p "`dirname $$p`"; \
if [ -e "$(DESTDIR)$(man1dir)$$p" ]; then rm -fv "$(DESTDIR)$(man1dir)$$p"; fi; \
$(GZIP_BIN) < "$(srcdir)/$$p" > "$$p.gz"; \
$(INSTALL_DATA) "$$p.gz" "$(DESTDIR)$(man1dir)" || exit 1; \