summaryrefslogtreecommitdiff
path: root/Makefile.shared
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2009-07-03 15:56:28 +0200
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2009-07-03 15:56:28 +0200
commit7cd8ff65017e5a0693979317ff4005384383479b (patch)
tree992960ac6b3e97929d997f8fbda03e12015e23e6 /Makefile.shared
parentf2163638231f049f67219c67ba851a7db9ea267f (diff)
Script and make target to create ctags file
* Makefile.shared: * bin/create-tags:
Diffstat (limited to 'Makefile.shared')
-rw-r--r--Makefile.shared13
1 files changed, 11 insertions, 2 deletions
diff --git a/Makefile.shared b/Makefile.shared
index 36bc6a08f..e2ef7dc01 100644
--- a/Makefile.shared
+++ b/Makefile.shared
@@ -88,12 +88,15 @@ $(STAMP_DIR)/build.tools : $(STAMP_DIR)/prebuild
cd $(top_srcdir)/bin ; ./build-tools
touch $@
-build : $(STAMP_DIR)/build
-$(STAMP_DIR)/build : $(OOBUILDDIR)/unpack \
+build.prepare : $(STAMP_DIR)/build_prepared
+$(STAMP_DIR)/build_prepared : $(OOBUILDDIR)/unpack \
$(STAMP_DIR)/patch.apply \
$(STAMP_DIR)/artwork.install \
$(STAMP_DIR)/build.tools \
$(STAMP_DIR)/prebuild
+ touch $@
+build : $(STAMP_DIR)/build
+$(STAMP_DIR)/build : $(STAMP_DIR)/build_prepared
cd $(top_srcdir)/bin ; ./build-ooo
touch $@
@@ -119,6 +122,10 @@ id : $(OOBUILDDIR)/ID
$(OOBUILDDIR)/ID : $(STAMP_DIR)/build
cd $(OOBUILDDIR); $(TOOLSDIR)/bin/create-ids
+tags: $(OOBUILDDIR)/tags
+$(OOBUILDDIR)/tags: $(STAMP_DIR)/build_prepared
+ cd $(OOBUILDDIR); $(TOOLSDIR)/bin/create-tags
+
gitignore : $(OOBUILDDIR)/.gitignore
$(OOBUILDDIR)/.gitignore : $(OOBUILDDIR)/unpack
cd $(OOBUILDDIR); $(TOOLSDIR)/bin/create-gitignores.sh
@@ -138,8 +145,10 @@ help:
@echo ""
@echo " * dev-install: installs with links to the build tree"
@echo " * id: generates the GNU ID database"
+ @echo " * tags: generates the tags file"
@echo " * gitignore: creates the default .gitignore file in the unpacked sources"
@echo " * smoketest: runs the automated tests"
@echo " * patch.apply: applies the patches to the sources"
@echo " * patch.unapply: revert the applied patches"
@echo " * patch.list: list the applied patches"
+ @echo " * build.prepare: runs everything before the real build"