[Lsb-messages] /var/www/bzr/lsb/4.1/books r60: match makefile to current devel
Mats Wichmann
mats at linuxfoundation.org
Fri Sep 6 19:05:20 UTC 2013
------------------------------------------------------------
revno: 60
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: books
timestamp: Fri 2013-09-06 13:05:20 -0600
message:
match makefile to current devel
modified:
makefile
-------------- next part --------------
=== modified file 'makefile'
--- a/makefile 2011-03-03 14:51:47 +0000
+++ b/makefile 2013-09-06 19:05:20 +0000
@@ -22,8 +22,10 @@
Packaging-PPC32 Packaging-PPC64 Packaging-S390 Packaging-S390X \
Graphics-Ext XML Multimedia Perl LSB-Printing Python TUM Java Security
+ALLSUBDIRS = $(SUBDIRS) $(QT3_SUBDIRS) $(QT4_SUBDIRS) $(GTK_SUBDIRS)
+
all:
- @echo "Does not build qt3, qt4, gtk books"
+ @echo "Does not build qt3, qt4, gtk books, use those targets explicitly"
for dir in $(SUBDIRS) $(CXX_SUBDIRS);do (cd $$dir && make all);done
# build only those books which are released standalone:
@@ -42,8 +44,26 @@
gtk:
for dir in $(GTK_SUBDIRS);do (cd $$dir && $(MAKE) all);done
+everything:
+ for dir in $(ALLSUBDIRS);do (cd $$dir && make all);done
+
+# warning: parallel make on autobuild may fail by creating corrupt .sgml file
+# better: [make clean], make dateversion, make -j{whatever}
autobuild:
- for dir in $(SUBDIRS) $(CXXSUBDIRS) $(QT3_SUBDIRS) $(QT4_SUBDIRS) $(GTK_SUBDIRS);do (cd $$dir && $(MAKE) autobuild);done
+ @echo "Does not build qt3, qt4, gtk books, use those targets explicitly"
+ for dir in $(SUBDIRS) $(CXXSUBDIRS));do (cd $$dir && $(MAKE) autobuild);done
+
+autobuild-all:
+ for dir in $(ALLSUBDIRS);do (cd $$dir && $(MAKE) autobuild);done
+
+autobuild-qt3:
+ for dir in $(QT3_SUBDIRS);do (cd $$dir && $(MAKE) autobuild);done
+
+autobuild-qt4:
+ for dir in $(QT4_SUBDIRS);do (cd $$dir && $(MAKE) autobuild);done
+
+autobuild-gtk:
+ for dir in $(GTK_SUBDIRS);do (cd $$dir && $(MAKE) autobuild);done
gensrc:
for dir in $(SUBDIRS);do (cd $$dir && $(MAKE) gensrc);done
@@ -51,13 +71,14 @@
source:
for dir in $(SUBDIRS);do (cd $$dir && $(MAKE) source);done
+dateversion:
+ for dir in $(ALLSUBDIRS);do (cd $$dir && $(MAKE) dateversion);done
+
clean:
- for dir in $(SUBDIRS);do (cd $$dir && $(MAKE) clean);done
+ for dir in $(ALLSUBDIRS);do (cd $$dir && $(MAKE) clean);done
releaseclean:
- for dir in $(RELEASE_SUBDIRS);do (cd $$dir && $(MAKE) clean);done
+ for dir in $(ALLSUBDIRS);do (cd $$dir && $(MAKE) clean);done
spotless:
- for dir in $(SUBDIRS);do (cd $$dir && $(MAKE) spotless);done
-
-
+ for dir in $(ALLSUBDIRS);do (cd $$dir && $(MAKE) spotless);done
More information about the lsb-messages
mailing list