aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cfengine3-legacy/files/patch-Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cfengine3-legacy/files/patch-Makefile.in')
-rw-r--r--sysutils/cfengine3-legacy/files/patch-Makefile.in99
1 files changed, 5 insertions, 94 deletions
diff --git a/sysutils/cfengine3-legacy/files/patch-Makefile.in b/sysutils/cfengine3-legacy/files/patch-Makefile.in
index dcb6c0b2a9d0..558288e16305 100644
--- a/sysutils/cfengine3-legacy/files/patch-Makefile.in
+++ b/sysutils/cfengine3-legacy/files/patch-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig 2008-06-11 12:39:22.000000000 -0400
-+++ Makefile.in 2008-07-01 22:32:29.000000000 -0400
+--- Makefile.in.orig Mon Aug 4 10:55:48 2008
++++ Makefile.in Tue Aug 12 23:03:09 2008
@@ -187,7 +187,7 @@
builddir = @builddir@
datadir = @datadir@
@@ -9,7 +9,7 @@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
-@@ -225,7 +225,15 @@
+@@ -225,7 +225,11 @@
@BUILD_DOC_TRUE@DOC_DIR = doc
SUBDIRS = pub src contrib inputs $(DOC_DIR)
EXTRA_DIST = acconfig.h doc/cfengine.8 COPYING ChangeLog INSTALL NEWS README LICENSE
@@ -19,72 +19,18 @@
+.else
+doc_DATA = README ChangeLog INSTALL NEWS AUTHORS TODO
+.endif
-+
-+# Info used in building the MAN files
-+man_MANS = doc/cfengine.8
-+man8dir = $(mandir)/man8
#
# Some basic clean ups
-@@ -298,8 +306,57 @@
-
- distclean-libtool:
+@@ -300,6 +304,7 @@
-rm -f libtool
-+
-+install-man8: $(man8_MANS) $(man_MANS)
-+ @$(NORMAL_INSTALL)
-+ test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
-+ @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
-+ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
-+ for i in $$l2; do \
-+ case "$$i" in \
-+ *.8*) list="$$list $$i" ;; \
-+ esac; \
-+ done; \
-+ for i in $$list; do \
-+ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
-+ else file=$$i; fi; \
-+ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
-+ case "$$ext" in \
-+ 8*) ;; \
-+ *) ext='8' ;; \
-+ esac; \
-+ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
-+ inst=`echo $$inst | sed -e 's/^.*\///'`; \
-+ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
-+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
-+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
-+ done
-+
-+uninstall-man8:
-+ @$(NORMAL_UNINSTALL)
-+ @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
-+ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
-+ for i in $$l2; do \
-+ case "$$i" in \
-+ *.8*) list="$$list $$i" ;; \
-+ esac; \
-+ done; \
-+ for i in $$list; do \
-+ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
-+ case "$$ext" in \
-+ 8*) ;; \
-+ *) ext='8' ;; \
-+ esac; \
-+ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
-+ inst=`echo $$inst | sed -e 's/^.*\///'`; \
-+ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
-+ echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
-+ rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
-+ done
-+
install-docDATA: $(doc_DATA)
@$(NORMAL_INSTALL)
+.if !defined(NOPORTDOCS)
test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
@list='$(doc_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-@@ -307,6 +364,7 @@
+@@ -307,6 +312,7 @@
echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
$(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
done
@@ -92,38 +38,3 @@
uninstall-docDATA:
@$(NORMAL_UNINSTALL)
-@@ -645,7 +703,7 @@
-
- info-am:
-
--install-data-am: install-docDATA
-+install-data-am: install-docDATA install-man8
-
- install-dvi: install-dvi-recursive
-
-@@ -681,7 +739,7 @@
-
- ps-am:
-
--uninstall-am: uninstall-docDATA
-+uninstall-am: uninstall-docDATA uninstall-man8
-
- .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
- install-strip
-@@ -693,14 +751,14 @@
- distclean-generic distclean-libtool distclean-tags \
- distcleancheck distdir distuninstallcheck dvi dvi-am html \
- html-am info info-am install install-am install-data \
-- install-data-am install-docDATA install-dvi install-dvi-am \
-+ install-data-am install-docDATA install-man8 install-dvi install-dvi-am \
- install-exec install-exec-am install-html install-html-am \
- install-info install-info-am install-man install-pdf \
- install-pdf-am install-ps install-ps-am install-strip \
- installcheck installcheck-am installdirs installdirs-am \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-- tags tags-recursive uninstall uninstall-am uninstall-docDATA
-+ tags tags-recursive uninstall uninstall-am uninstall-docDATA uninstall-man8
-
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.