forked from Lainports/freebsd-ports
40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
--- doc/Makefile.in.orig 2012-01-30 23:20:15.000000000 +0900
|
|
+++ doc/Makefile.in 2012-01-31 07:29:49.582744237 +0900
|
|
@@ -33,7 +33,7 @@
|
|
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
VPATH = @srcdir@
|
|
-pkgdatadir = $(datadir)/@PACKAGE@
|
|
+pkgdatadir = $(datadir)/doc/gnupg1
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
|
@@ -316,7 +316,11 @@
|
|
|
|
# Need this to avoid building of dvis with automake 1.4
|
|
DVIS =
|
|
+ifdef NOPORTDOCS
|
|
+pkgdata_DATA =
|
|
+else
|
|
pkgdata_DATA = FAQ
|
|
+endif
|
|
|
|
# we can't add gpg.texi gpgv.texi here because automake does not like them to
|
|
# be built files.
|
|
@@ -603,6 +607,8 @@
|
|
echo " ( cd '$(DESTDIR)$(man7dir)' && rm -f" $$files ")"; \
|
|
cd "$(DESTDIR)$(man7dir)" && rm -f $$files; }
|
|
install-pkgdataDATA: $(pkgdata_DATA)
|
|
+ifdef NOPORTDOCS
|
|
+else
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
|
|
@list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
|
|
@@ -614,6 +620,7 @@
|
|
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
|
|
$(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
|
|
done
|
|
+endif
|
|
|
|
uninstall-pkgdataDATA:
|
|
@$(NORMAL_UNINSTALL)
|