summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfergus.henderson <fergus.henderson@01de4be4-8c4a-0410-9132-4925637da917>2011-10-26 02:49:42 +0000
committerfergus.henderson <fergus.henderson@01de4be4-8c4a-0410-9132-4925637da917>2011-10-26 02:49:42 +0000
commit3a79441a370af1be8a77269d19c9541ce36be9f4 (patch)
treef67d9d00be61bc96cb859291fcfce4623c4dc97b
parent66bff9d28f621d15b7c132913005f08b197fc154 (diff)
downloaddistcc-3a79441a370af1be8a77269d19c9541ce36be9f4.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. git-svn-id: http://distcc.googlecode.com/svn/trunk@748 01de4be4-8c4a-0410-9132-4925637da917
-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; \