mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
srcdist.mk: Don't really know if this is not an obsolete file
This commit is contained in:
parent
04e9ebb8a9
commit
a04c8f8fee
1 changed files with 12 additions and 0 deletions
12
make/srcdist.mk
Normal file
12
make/srcdist.mk
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
%-src.zip: distclean
|
||||
mkdir -p $(DISTDIR)/src/$(PROJECT)
|
||||
mkdir -p $(PCKGDIR)
|
||||
rm -rf $(DISTDIR)/src/$(PROJECT)/*
|
||||
mkdir -p $(DISTDIR)/src/$(PROJECT)/mod
|
||||
cd $(TOPDIR); find . -type f | \
|
||||
grep -ve 'CVS\|contrib/nomake\|tar.gz\|/dist/' | \
|
||||
xargs tar -cf - | tar -C $(DISTDIR)/src/$(PROJECT) -xf -
|
||||
echo $(DIST_VERSION) > $(DISTDIR)/src/$(PROJECT)/VERSION ;\
|
||||
for mod in $(REQUIRED) ; do make -C $(MODDIR)/$$mod clean; cp -r $(MODDIR)/$$mod $(DISTDIR)/src/$(PROJECT)/mod/ ; done ;\
|
||||
cp $(MODDIR)/Makefile $(DISTDIR)/src/$(PROJECT)/mod/ ;\
|
||||
tar -czv -C $(DISTDIR)/src/ -f $@ $(PROJECT)
|
||||
Loading…
Add table
Add a link
Reference in a new issue