mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk: Add cvs_files helper
This commit is contained in:
parent
b81092f1d1
commit
0fdcd7a37d
1 changed files with 6 additions and 0 deletions
|
|
@ -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//')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue