defs.mk: Add cvs_files helper

This commit is contained in:
Jan Lindemann 2007-08-22 12:20:10 +00:00 committed by Jan Lindemann
commit 0fdcd7a37d

View file

@ -340,6 +340,12 @@ define install_local_cfg
$(INSTALL) -o $(CFGOWNER) -g $(CFGGROUP) -m $(CFGMODE) $< $@
endef
define cvs_files
for d in `find . | sed '/CVS\/Entries$$/ !d; s%CVS/Entries%%'`; do \
sed "/^\// !d; s%^/%%; s%/.*%%; s%^%$$d%" $$d/CVS/Entries ;\
done
endef
#$(shell cat $1/VERSION | sed 's/-dev//; s/-[^-]*$$//')
define cat_version
$(shell cat $1/VERSION | sed 's/-dev//')