gsrc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gsrc-commit] /srv/bzr/gsrc/trunk r1271: fix avl install


From: Brandon Invergo
Subject: [Gsrc-commit] /srv/bzr/gsrc/trunk r1271: fix avl install
Date: Thu, 22 Nov 2012 10:28:41 +0100
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 1271
committer: Brandon Invergo <address@hidden>
branch nick: trunk
timestamp: Thu 2012-11-22 10:28:41 +0100
message:
  fix avl install
modified:
  gnu/avl/Makefile
=== modified file 'gnu/avl/Makefile'
--- a/gnu/avl/Makefile  2012-10-27 23:43:13 +0000
+++ b/gnu/avl/Makefile  2012-11-22 09:28:41 +0000
@@ -9,11 +9,40 @@
 MASTER_SUBDIR = avl/
 DISTFILES = $(DISTNAME).tar.gz
 SIGFILES = $(DISTNAME).tar.gz.sig
+INSTALL_SCRIPTS = info
 
 BUILDDEPS = 
 LIBDEPS = 
 
 ######################################################################
 
-include ../../gar.lib/auto.mk
+#SYSINSTALL_IGNORE = normalise collisions packagevars install
+
+include ../../gar.mk
 include config.mk
+
+INSTALL = $(shell which install)
+INSTALL_INFO = $(shell which install-info)
+infodir = $(prefix)/share/info
+
+build-info:
+       $(BUILD_ENV) $(MAKE) -C $(WORKSRC) libavl.info $(BUILD_ARGS)
+       $(MAKECOOKIE)
+
+install-info:
+       $(INSTALL) -d $(packageDESTDIR)$(infodir)
+       $(INSTALL) -m 644 -D $(WORKSRC)/libavl.info $(packageDESTDIR)$(infodir)
+       $(INSTALL_INFO) --dir-file="$(packageDESTDIR)$(infodir)/dir" \
+               "$(packageDESTDIR)$(infodir)/libavl.info"
+       $(MAKECOOKIE)
+
+
+post-install:
+       @echo ""
+       @echo "NOTE:"
+       @echo "\
+libavl is not intended to be built and installed as a shared library but, \
+rather, to be pulled directly into a source tree and used in development. Only 
\
+the documentation has been installed (in the 'info' format, located at \
+$(infodir)/libavl.info)." 
+       @echo ""


reply via email to

[Prev in Thread] Current Thread [Next in Thread]