diff options
author | Petr Mladek <pmladek@suse.cz> | 2008-04-17 20:28:05 +0000 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2008-04-17 20:28:05 +0000 |
commit | e8b26a9e4f0a95dada94c944b45d2e450fe184d8 (patch) | |
tree | faf8d9908af784e5c98caf53ad1ca7ccaeff1bc7 /Makefile.shared | |
parent | 051307a4acc75028c7008670def727f23ea544fc (diff) |
Add the configure option --with-additional-sections; It allows to apply the experimental sections easily without changing the apply file; useful to produce various test builds
* configure.in, Makefile.shared, patches/apply.pl.in: add the configure
option --with-additional-sections; It allows to apply the
experimental sections easily without changing the apply file;
useful to produce various test builds
Diffstat (limited to 'Makefile.shared')
-rw-r--r-- | Makefile.shared | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.shared b/Makefile.shared index 77d2ee9b1..9c5cf087b 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -25,6 +25,9 @@ $(OOBUILDDIR)/unpack : if grep localize.sdf $(OOBUILDDIR)/sw/source/ui/app/localize.sdf > /dev/null 2>&1 ; then \ FLAGS="$$FLAGS --distro=Localize"; \ fi ; \ + if test -n "$(OOO_ADDITIONAL_SECTIONS)" ; then \ + FLAGS="$$FLAGS --additional-sections=$(OOO_ADDITIONAL_SECTIONS)"; \ + fi ; \ chmod +x $(TOOLSDIR)/patches/apply.pl && $(TOOLSDIR)/patches/apply.pl $(APPLY_DIR) $(OOBUILDDIR) $$FLAGS -f -R ; \ fi cd $(top_srcdir)/bin ; ./unpack @@ -85,6 +88,9 @@ $(STAMP_DIR)/patch.apply : $(top_srcdir)/patches/apply.pl \ if test $(OOO_LANGS) != en-US ; then \ FLAGS="$$FLAGS --distro=Localize"; \ fi ; \ + if test -n "$(OOO_ADDITIONAL_SECTIONS)" ; then \ + FLAGS="$$FLAGS --additional-sections=$(OOO_ADDITIONAL_SECTIONS)"; \ + fi ; \ chmod +x $(TOOLSDIR)/patches/apply.pl && $(TOOLSDIR)/patches/apply.pl $(APPLY_DIR) $(OOBUILDDIR) $$FLAGS --tag=$(CVSTAG) ; $(TOOLSDIR)/bin/transform --apply $(TOOLSDIR) $(OOBUILDDIR) $(TOOLSDIR)/bin/fix-deps $(OOBUILDDIR) @@ -106,6 +112,9 @@ patch.unapply: if grep localize.sdf $(OOBUILDDIR)/sw/source/ui/app/localize.sdf > /dev/null 2>&1 ; then \ FLAGS="$$FLAGS --distro=Localize"; \ fi ; \ + if test -n "$(OOO_ADDITIONAL_SECTIONS)" ; then \ + FLAGS="$$FLAGS --additional-sections=$(OOO_ADDITIONAL_SECTIONS)"; \ + fi ; \ chmod +x $(TOOLSDIR)/patches/apply.pl && $(TOOLSDIR)/patches/apply.pl $(APPLY_DIR) $(OOBUILDDIR) $$FLAGS -R ; rm -f $(STAMP_DIR)/patch.apply |