Makefile: Add top-level release-archive target (merge r6127 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@6129 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-02-24 13:37:57 +00:00
parent 5695df532c
commit d9738e6388

View File

@@ -414,6 +414,16 @@ rpm:
find -name '*.rpm'; \
fi
release-archive:
$(MAKE) 2release
for m in $$(find -name Makefile | \
xargs grep -l '^release-archive:' | \
grep -v '^\./Makefile'); \
do \
(cd $$(dirname $$m) && $(MAKE) release-archive) \
done
$(MAKE) 2debug
2perf: extraclean
cd $(SCST_DIR) && $(MAKE) $@
@if [ -d $(QLA_DIR) ]; then cd $(QLA_DIR) && $(MAKE) $@; fi