Skip to contentSkip to conversation

conga ./Makefile luci/cluster/Makefile luci/si ...

Cluster-devel [email protected] 1 participant 1 message Sep 11, 2007 Kbuild

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2007-09-11 16:02:19

Modified files:

	.              : Makefile 
	luci/cluster   : Makefile 
	luci/site      : Makefile 
	luci/logs      : Makefile 
	luci/init.d    : Makefile 

luci/conga_ssl : Makefile
luci/docs : Makefile
luci/homebase : Makefile
luci : Makefile
luci/storage : Makefile
luci/plone-custom: Makefile
luci/sysconfig : Makefile
luci/utils : Makefile

Log message:
Cleanup luci makefiles

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/Makefile.diff?cvsroot=cluster&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/Makefile.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/Makefile.diff?cvsroot=cluster&r1=1.15&r2=1.16
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/logs/Makefile.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/init.d/Makefile.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/conga_ssl/Makefile.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/docs/Makefile.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/Makefile.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/Makefile.diff?cvsroot=cluster&r1=1.24&r2=1.25
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/Makefile.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/Makefile.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/sysconfig/Makefile.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/utils/Makefile.diff?cvsroot=cluster&r1=1.1&r2=1.2

Makefile +10 -18
@@ -1,13 +1,12 @@
-################################################################################################################################################################
+################################################################################
 ##
-##  Copyright (C) 2005 Red Hat, Inc.  All rights reserved.
+## Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved.
 ##
-##  This copyrighted material is made available to anyone wishing to use,
-##  modify, copy, or redistribute it subject to the terms and conditions
-##  of the GNU General Public License v.2.
+## This copyrighted material is made available to anyone wishing to use,
+## modify, copy, or redistribute it subject to the terms and conditions
+## of the GNU General Public License v.2.
 ##
-##############################################################################################################################################################
-
+################################################################################
 
 include make/version.in
 
@@ -17,7 +16,6 @@
 
 .PHONY: conga ricci luci clustermon
 
-
 all: conga clustermon
 	echo "Run 'make install' to install conga and clustermon"
 
@@ -34,10 +32,9 @@
 	${MAKE} -C ricci clustermon
 	echo "Run 'make install_clustermon' to install modcluster, cluster-cim and cluster-snmp"
 
-
 install: install_conga install_clustermon
 
-install_conga: install_ricci install_luci 
+install_conga: install_ricci install_luci
 
 install_ricci:
 	${MAKE} -C ricci install_ricci
@@ -45,10 +42,9 @@
 install_luci:
 	${MAKE} -C luci install
 
-install_clustermon: 
+install_clustermon:
 	${MAKE} -C ricci install_clustermon
 
-
 clean: clean_ricci clean_luci clean_clustermon
 
 clean_ricci:
@@ -60,19 +56,16 @@
 clean_clustermon:
 	${MAKE} -C ricci clean_clustermon
 
-
-distclean: 
+distclean:
 	${MAKE} -C ricci distclean
 	${MAKE} -C luci distclean
 	rm -f conga.spec conga.spec.in
-	rm -f conga*.tar.gz conga*.src.rpm 
+	rm -f conga*.tar.gz conga*.src.rpm
 	rm -f clustermon.spec clustermon.spec.in
 	rm -f clustermon*.tar.gz clustermon*.src.rpm
 
-
 rebuild: clean all
 
-
 srpms: conga_srpm clustermon_srpm
 
 conga_srpm: clean
@@ -121,4 +114,3 @@
 	else \
 		rpmbuild --rebuild ${CLUSTERMON_DIRNAME}-${RELEASE}.src.rpm ; \
 	fi
-
luci/cluster/Makefile +10 -0
@@ -1,3 +1,13 @@
+################################################################################
+##
+## Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved.
+##
+## This copyrighted material is made available to anyone wishing to use,
+## modify, copy, or redistribute it subject to the terms and conditions
+## of the GNU General Public License v.2.
+##
+################################################################################
+
 LUCI_HOST=luci
 LUCI_USER=admin
 LUCI_PASS=changeme
luci/site/Makefile +42 -47

115 lines not on this page · raw message

luci/logs/Makefile +10 -0
@@ -1,3 +1,13 @@
+################################################################################
+##
+## Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved.
+##
+## This copyrighted material is made available to anyone wishing to use,
+## modify, copy, or redistribute it subject to the terms and conditions
+## of the GNU General Public License v.2.
+##
+################################################################################
+
 LUCI_HOST=luci
 LUCI_USER=admin
 LUCI_PASS=changeme
luci/init.d/Makefile +11 -7
@@ -1,15 +1,19 @@
-
-
+################################################################################
+##
+## Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved.
+##
+## This copyrighted material is made available to anyone wishing to use,
+## modify, copy, or redistribute it subject to the terms and conditions
+## of the GNU General Public License v.2.
+##
+################################################################################
 
 all:
 
-
 install:
-	install -d ${DESTDIR}/etc/rc.d/init.d
-	install luci ${DESTDIR}/etc/rc.d/init.d
-
+	${INSTALL_DIR} ${DESTDIR}/etc/rc.d/init.d
+	${INSTALL_BIN} luci ${DESTDIR}/etc/rc.d/init.d
 
 clean:
 
-
 distclean:
luci/conga_ssl/Makefile +12 -5
@@ -1,8 +1,16 @@
+################################################################################
+##
+## Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved.
+##
+## This copyrighted material is made available to anyone wishing to use,
+## modify, copy, or redistribute it subject to the terms and conditions
+## of the GNU General Public License v.2.
+##
+################################################################################
 
 include ../../make/version.in
 include ../make/defines.mk
 
-
 .PHONY: build
 
 build:
@@ -15,9 +23,8 @@
 distclean: clean
 
 install:
-	install -d ${libdir}/luci
-	install -d ${libdir}/luci/ssl
-	install -m 644 build/lib*/conga_ssl_lib.so ${libdir}/luci/ssl
+	${INSTALL_DIR} ${libdir}/luci
+	${INSTALL_DIR} ${libdir}/luci/ssl
+	${INSTALL_FILE} build/lib*/conga_ssl_lib.so ${libdir}/luci/ssl
 
 rebuild: clean build
-
luci/docs/Makefile +10 -4
@@ -1,3 +1,13 @@
+################################################################################
+##
+## Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved.
+##
+## This copyrighted material is made available to anyone wishing to use,
+## modify, copy, or redistribute it subject to the terms and conditions
+## of the GNU General Public License v.2.
+##
+################################################################################
+
 LUCI_HOST=luci
 LUCI_USER=admin
 LUCI_PASS=changeme
@@ -9,16 +19,12 @@
 
 docs:
 
-
 install:
 
-
 clean:
 
-
 distclean:
 
-
 # import page local page templates to the Luci server
 import:
 	@if test "$(FILES)"; then \
luci/homebase/Makefile +10 -0
@@ -1,3 +1,13 @@
+################################################################################
+##
+## Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved.
+##
+## This copyrighted material is made available to anyone wishing to use,
+## modify, copy, or redistribute it subject to the terms and conditions
+## of the GNU General Public License v.2.
+##
+################################################################################
+
 LUCI_HOST=luci
 LUCI_USER=admin
 LUCI_PASS=changeme
luci/Makefile +18 -13
@@ -1,19 +1,24 @@
+################################################################################
+##
+## Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved.
+##
+## This copyrighted material is made available to anyone wishing to use,
+## modify, copy, or redistribute it subject to the terms and conditions
+## of the GNU General Public License v.2.
+##
+################################################################################
+
 ZOPEINSTANCE=/var/lib/luci
 
 include ../make/version.in
 include make/defines.mk
 
-
-
-
-# list zope/plone files and/or directories to be removed 
+# list zope/plone files and/or directories to be removed
 # (paths relative to zope/plone installation directory)
 ZOPE_REMOVES="bin include skel zopeskel lib64/python/ZEO lib64/python/nt_svcutils lib64/python/reStructuredText lib/python/ZEO lib/python/nt_svcutils lib/python/reStructuredText lib64/python/Products/ZGadflyDA lib64/python/Products/ZopeTutorial lib64/python/Products/ZReST lib/python/Products/ZGadflyDA lib/python/Products/ZopeTutorial lib/python/Products/ZReST"
 
 PLONE_REMOVES="Five README.txt ATContentTypes ATReferenceBrowserWidget ExtendedPathIndex ExternalEditor kupu Marshall PasswordResetTool PloneLanguageTool PloneTestCase"
 
-
-
 all: luci
 
 luci:
@@ -24,13 +29,11 @@
 	${MAKE} -C sysconfig
 	${MAKE} -C docs
 
-
 rebuild: clean all
 
-
 install:
 	if [ "${include_zope_and_plone}" = "yes" ] ; then \
-		install -d ${libdir}/luci ; \
+		${INSTALL_DIR} ${libdir}/luci ; \
 		cd zope ; \
 		./configure --prefix=${libdir}/luci/zope --with-python=/usr/bin/python ; \
 		${MAKE} ; \
@@ -39,22 +42,24 @@
 		chmod 700 ${libdir}/luci/zope ; \
 		utils/remove_files ${libdir}/luci/zope ${ZOPE_REMOVES} ; \
 	fi
+
 	if [ "${include_zope_and_plone}" = "yes" ] ; then \
-		install -d ${libdir}/luci/zope/lib/python/Products ; \
+		${INSTALL_DIR} ${libdir}/luci/zope/lib/python/Products ; \
 		utils/remove_files plone ${PLONE_REMOVES} ; \
 		cp -R plone/* ${libdir}/luci/zope/lib/python/Products/ ; \
 	fi
 
-	install -d -m 700 ${DESTDIR}/var/lib/luci
+	${INSTALL_DIR} -m 700 ${DESTDIR}/var/lib/luci
+
 	${MAKE} -C site install
 	${MAKE} -C conga_ssl install
 	${MAKE} -C utils install
 	${MAKE} -C init.d install
 	${MAKE} -C sysconfig install
 	${MAKE} -C docs install
-	install -d ${DESTDIR}/usr/share/doc/luci-${VERSION}/
-	install -m 644 COPYING ${DESTDIR}/usr/share/doc/luci-${VERSION}/
 
+	${INSTALL_DIR} ${DESTDIR}/usr/share/doc/luci-${VERSION}/
+	${INSTALL_FILE} COPYING ${DESTDIR}/usr/share/doc/luci-${VERSION}/
 
 clean:
 	${MAKE} -C site clean
luci/storage/Makefile +10 -0
@@ -1,3 +1,13 @@
+################################################################################
+##
+## Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved.
+##
+## This copyrighted material is made available to anyone wishing to use,
+## modify, copy, or redistribute it subject to the terms and conditions
+## of the GNU General Public License v.2.
+##
+################################################################################
+
 LUCI_HOST=luci
 LUCI_USER=admin
 LUCI_PASS=changeme
luci/plone-custom/Makefile +10 -0
@@ -1,3 +1,13 @@
+################################################################################
+##
+## Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved.
+##
+## This copyrighted material is made available to anyone wishing to use,
+## modify, copy, or redistribute it subject to the terms and conditions
+## of the GNU General Public License v.2.
+##
+################################################################################
+
 LUCI_HOST=luci
 LUCI_USER=admin
 LUCI_PASS=changeme
luci/sysconfig/Makefile +11 -9
@@ -1,17 +1,19 @@
-
-
+################################################################################
+##
+## Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved.
+##
+## This copyrighted material is made available to anyone wishing to use,
+## modify, copy, or redistribute it subject to the terms and conditions
+## of the GNU General Public License v.2.
+##
+################################################################################
 
 all:
 
-
 install:
-	install -d ${DESTDIR}/etc/sysconfig
-	install -m 644 luci ${DESTDIR}/etc/sysconfig
-
+	${INSTALL_DIR} ${DESTDIR}/etc/sysconfig
+	${INSTALL_FILE} luci ${DESTDIR}/etc/sysconfig
 
 clean:
 
-
 distclean:
-
-
luci/utils/Makefile +12 -8
@@ -1,16 +1,20 @@
-
-
+################################################################################
+##
+## Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved.
+##
+## This copyrighted material is made available to anyone wishing to use,
+## modify, copy, or redistribute it subject to the terms and conditions
+## of the GNU General Public License v.2.
+##
+################################################################################
 
 all:
 
-
 install:
-	install -d ${DESTDIR}/usr
-	install -d ${DESTDIR}/usr/sbin
-	install luci_admin ${DESTDIR}/usr/sbin
+	${INSTALL_DIR} ${DESTDIR}/usr
+	${INSTALL_DIR} ${DESTDIR}/usr/sbin
+	${INSTALL_BIN} -m 755 luci_admin ${DESTDIR}/usr/sbin
 
 clean:
 
-
 distclean:
-