summaryrefslogtreecommitdiff
path: root/sysutils/cfengine/files/patch-Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cfengine/files/patch-Makefile.in')
-rw-r--r--sysutils/cfengine/files/patch-Makefile.in119
1 files changed, 112 insertions, 7 deletions
diff --git a/sysutils/cfengine/files/patch-Makefile.in b/sysutils/cfengine/files/patch-Makefile.in
index 15fda846d1ee..dcb6c0b2a9d0 100644
--- a/sysutils/cfengine/files/patch-Makefile.in
+++ b/sysutils/cfengine/files/patch-Makefile.in
@@ -1,7 +1,7 @@
---- Makefile.in_orig Wed May 30 10:44:56 2007
-+++ Makefile.in Wed May 30 10:48:32 2007
-@@ -174,7 +174,7 @@
- build_vendor = @build_vendor@
+--- Makefile.in.orig 2008-06-11 12:39:22.000000000 -0400
++++ Makefile.in 2008-07-01 22:32:29.000000000 -0400
+@@ -187,7 +187,7 @@
+ builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
-docdir = $(pkgdatadir)
@@ -9,16 +9,121 @@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
-@@ -209,7 +209,11 @@
+@@ -225,7 +225,15 @@
@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
+ EXTRA_DIST = acconfig.h doc/cfengine.8 COPYING ChangeLog INSTALL NEWS README LICENSE
-doc_DATA = README ChangeLog INSTALL NEWS
+.if defined(NOPORTDOCS)
+doc_DATA =
+.else
-+doc_DATA = AUTHORS ChangeLog README TODO
++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:
+ -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 @@
+ echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
+ $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
+ done
++.endif
+
+ 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.