[Lsb-messages] /var/www/bzr/lsb/4.1/misc-test r2266: include package dir in clean/distclean target

Mats Wichmann mats at linuxfoundation.org
Wed Oct 17 14:06:40 UTC 2012


------------------------------------------------------------
revno: 2266
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: misc-test
timestamp: Wed 2012-10-17 08:06:40 -0600
message:
  include package dir in clean/distclean target
modified:
  makefile
-------------- next part --------------
=== modified file 'makefile'
--- a/makefile	2011-03-27 22:21:45 +0000
+++ b/makefile	2012-10-17 14:06:40 +0000
@@ -1,8 +1,12 @@
 export BINDIR=/bin
 export MANDIR=/man
+export INSTALL_ROOT=/usr/local
+export INCLUDEDIR=/include
+export LIB64=$(shell case `uname -m` in (ppc64|s390x|x86_64) echo 64 ;; esac)
+export LIBDIR=/lib$(LIB64)
 
-SUBDIRS=tetj fhschk elfchk rpmchk appchk libchk cmdchk pkgchk archk
-RELEASEDIRS=libchk appchk cmdchk pkgchk
+SUBDIRS=tetj fhschk elfchk rpmchk appchk libchk cmdchk pkgchk archk dynchk
+RELEASEDIRS=libchk appchk cmdchk pkgchk dynchk
 
 all:
 	for d in $(SUBDIRS);do (cd $$d && $(MAKE) all LSBVERSION=$$LSBVERSION);done
@@ -17,7 +21,7 @@
 	for d in $(SUBDIRS);do (cd $$d && $(MAKE) gensrc);done
 
 clean:
-	for d in $(SUBDIRS);do (cd $$d && $(MAKE) clean);done
+	for d in $(SUBDIRS) package;do (cd $$d && $(MAKE) clean);done
 
 distclean:
-	for d in $(SUBDIRS);do (cd $$d && $(MAKE) distclean);done
+	for d in $(SUBDIRS) package;do (cd $$d && $(MAKE) distclean);done



More information about the lsb-messages mailing list