aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2003-04-10 21:07:25 +0000
committerhpa <hpa>2003-04-10 21:07:25 +0000
commit554f40704fa2f4c2f32c9495a539cc55fcb38203 (patch)
tree5d65e90e3d71cd993be86955a6990c0f5c399452
parent3e99f7b971358e659c326b3be81b17fbd9621099 (diff)
downloadsyslinux.git-554f40704fa2f4c2f32c9495a539cc55fcb38203.tar.gz
syslinux.git-554f40704fa2f4c2f32c9495a539cc55fcb38203.tar.xz
syslinux.git-554f40704fa2f4c2f32c9495a539cc55fcb38203.zip
Delete backup files
-rw-r--r--Makefile.private8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.private b/Makefile.private
index 2d2397ea..c1fcb184 100644
--- a/Makefile.private
+++ b/Makefile.private
@@ -1,6 +1,6 @@
## -*- makefile -*- ------------------------------------------------------
##
-## Copyright 2000-2002 H. Peter Anvin - All Rights Reserved
+## Copyright 2000-2003 H. Peter Anvin - All Rights Reserved
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -43,6 +43,9 @@ release:
cp -dR $(SOURCES) $(DOCS) $(OTHER) release/syslinux-$(VERSION)
find release/syslinux-$(VERSION) -name CVS -type d -print0 | \
xargs -0rt rm -rf
+ find release/syslinux-$(VERSION) \
+ \( -name *~ -or -name \#* \) -type d -print0 | \
+ xargs -0rt rm -f
ln -f $(PRIVATE) release/syslinux-$(VERSION)
cd release/syslinux-$(VERSION) && $(MAKE) depend
cd release/syslinux-$(VERSION) && $(MAKE) official
@@ -66,6 +69,9 @@ prerel:
cp -dR $(SOURCES) $(DOCS) $(OTHER) $(PRERELDIR)/$(PREREL)
find $(PRERELDIR)/$(PREREL) -name CVS -type d -print0 | \
xargs -0rt rm -rf
+ find $(PRERELDIR)/$(PREREL) \
+ \( -name *~ -or -name \#* \) -type d -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