give out additional information about the 'make install' process
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 2 May 2005 21:40:33 +0000 (21:40 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 2 May 2005 21:40:33 +0000 (21:40 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2074 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/Makefile.am
util-vserver/distrib/Makefile.am
util-vserver/m4/install-notify.am [new file with mode: 0644]

index 333e0fa..be313ed 100644 (file)
@@ -225,6 +225,7 @@ _install-vshelperlink:
 _install-vserverdir:
                        $(mkinstalldirs) $(DESTDIR)$(vserverdir) $(DESTDIR)$(vserverpkgdir)
 
+
 .fixups:               config.status util-vserver.spec
                        chmod a-w util-vserver.spec
                        touch $@
@@ -257,5 +258,6 @@ include $(top_srcdir)/m4/validate.am
 include $(top_srcdir)/m4/changelog.am
 include $(top_srcdir)/m4/pkgconfig.am
 include $(top_srcdir)/m4/libsel.am
+include $(top_srcdir)/m4/install-notify.am
 
 .PHONY:                FORCE update-doc
index 741a988..4e00178 100644 (file)
@@ -61,8 +61,10 @@ EXTRA_DIST           =  $(nobase_distrib_DATA) \
 
 redhat_style           =  rh9 fc1 fc2 fc3
 
+install-exec-hook:     install-notify-xtra
+install-data-hook:     install-data-xtras
 
-install-data-hook:
+install-data-xtras:
                        l="$(redhat_style)"; for i in $$l; do \
                                ln -sf ../redhat/initpost $(DESTDIR)$(distribdir)/$$i/ && \
                                ln -sf ../redhat/initpre  $(DESTDIR)$(distribdir)/$$i/; \
@@ -72,3 +74,6 @@ install-data-hook:
                                $(DESTDIR)$(confdefaultsdir) \
                                $(DESTDIR)$(confdefaultsdir)/apps/vunify/hash \
                                $(DESTDIR)$(confdefaultsdir)/files
+
+
+include $(top_srcdir)/m4/install-notify.am
diff --git a/util-vserver/m4/install-notify.am b/util-vserver/m4/install-notify.am
new file mode 100644 (file)
index 0000000..b4e4b11
--- /dev/null
@@ -0,0 +1,36 @@
+## $Id$
+
+# Copyright (C) 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
+#  
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#  
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#  
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+install-exec-hook install-data-hook:   install-notify-xtra
+
+
+install-notify-xtra:
+               @echo
+               @echo
+               @echo '***************************'
+               @echo '*'
+               @echo '* NOTE: a plain "make install" installs only the files under $$(prefix)'
+               @echo '*       which might be insufficient. To complete the installation,'
+               @echo '*       "make install-distribution" should be executed. See README,'
+               @echo '*       "Notes for distributors" for details.'
+               @echo '*'
+               @echo '***************************'
+               @echo
+               @echo
+
+
+.PHONY:                        install-notify-xtra