aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.private
diff options
context:
space:
mode:
authorhpa <hpa>2003-04-11 05:42:11 +0000
committerhpa <hpa>2003-04-11 05:42:11 +0000
commit8b16bc1f24e42ab4510eab56f51c72f75d2d6c2e (patch)
tree5909486542dc712f38962e411193a6c36ed4a0d4 /Makefile.private
parent554f40704fa2f4c2f32c9495a539cc55fcb38203 (diff)
downloadlwip-8b16bc1f24e42ab4510eab56f51c72f75d2d6c2e.tar.gz
lwip-8b16bc1f24e42ab4510eab56f51c72f75d2d6c2e.tar.xz
lwip-8b16bc1f24e42ab4510eab56f51c72f75d2d6c2e.zip
Clean up release generation
Diffstat (limited to 'Makefile.private')
-rw-r--r--Makefile.private9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile.private b/Makefile.private
index c1fcb184..359e4c60 100644
--- a/Makefile.private
+++ b/Makefile.private
@@ -44,9 +44,9 @@ release:
find release/syslinux-$(VERSION) -name CVS -type d -print0 | \
xargs -0rt rm -rf
find release/syslinux-$(VERSION) \
- \( -name *~ -or -name \#* \) -type d -print0 | \
+ \( -name '*~' -or -name '#*' \) -type f -print0 | \
xargs -0rt rm -f
- ln -f $(PRIVATE) release/syslinux-$(VERSION)
+ cp -a $(PRIVATE) release/syslinux-$(VERSION)
cd release/syslinux-$(VERSION) && $(MAKE) depend
cd release/syslinux-$(VERSION) && $(MAKE) official
cd release/syslinux-$(VERSION) && rm -rf $(PRIVATE)
@@ -70,13 +70,12 @@ prerel:
find $(PRERELDIR)/$(PREREL) -name CVS -type d -print0 | \
xargs -0rt rm -rf
find $(PRERELDIR)/$(PREREL) \
- \( -name *~ -or -name \#* \) -type d -print0 | \
+ \( -name '*~' -or -name '#*' \) -type f -print0 | \
xargs -0rt rm -f
make -C $(PRERELDIR)/$(PREREL) spotless
make -C $(PRERELDIR)/$(PREREL) all DATE=`printf '%s-pre%d ' $(VERSION) $(PRERELNO) | dd bs=10 count=1 2>/dev/null`
make -C $(PRERELDIR)/$(PREREL) dist
- cd $(PRERELDIR)/$(PREREL) && \
- rm -rf $(PRIVATE)
+ cd $(PRERELDIR)/$(PREREL) && rm -rf $(PRIVATE)
cd $(PRERELDIR) && tar cvvf - $(PREREL) | \
gzip -9 > $(PREREL).tar.gz
cd $(PRERELDIR) && \