use svn export
This commit is contained in:
parent
1c82d53247
commit
8a6bd8e312
14
Makefile
14
Makefile
@ -59,8 +59,6 @@ install::
|
|||||||
rm -f $(DESTDIR)/$(LIB)/rcscripts/sh/functions.sh.bak ; \
|
rm -f $(DESTDIR)/$(LIB)/rcscripts/sh/functions.sh.bak ; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
.PHONY: all clean install
|
|
||||||
|
|
||||||
layout:
|
layout:
|
||||||
# Create base filesytem layout
|
# Create base filesytem layout
|
||||||
for x in $(KEEP_DIRS) ; do \
|
for x in $(KEEP_DIRS) ; do \
|
||||||
@ -90,18 +88,12 @@ distcheck:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
distforce:
|
distforce:
|
||||||
install -d /tmp/$(PKG)
|
svn export . /tmp/$(PKG)
|
||||||
cp -PRp . /tmp/$(PKG)
|
|
||||||
`which find` /tmp/$(PKG) -depth -path "*/.svn/*" -delete
|
|
||||||
`which find` /tmp/$(PKG) -depth -path "*/.svn" -delete
|
|
||||||
rm -rf /tmp/$(PKG)/src/core /tmp/$(PKG)/po
|
|
||||||
$(MAKE) -C /tmp/$(PKG) clean
|
|
||||||
sed -i'.bak' -e '/-Wl,-rpath ./ s/^/#/g' /tmp/$(PKG)/src/Makefile
|
|
||||||
rm -f /tmp/$(PKG)/src/Makefile.bak
|
|
||||||
tar -C /tmp -cvjpf /tmp/$(PKG).tar.bz2 $(PKG)
|
tar -C /tmp -cvjpf /tmp/$(PKG).tar.bz2 $(PKG)
|
||||||
rm -Rf /tmp/$(PKG)
|
|
||||||
du /tmp/$(PKG).tar.bz2
|
du /tmp/$(PKG).tar.bz2
|
||||||
|
|
||||||
dist: distcheck distforce
|
dist: distcheck distforce
|
||||||
|
|
||||||
|
.PHONY: layout dist distcheck distforce
|
||||||
|
|
||||||
# vim: set ts=4 :
|
# vim: set ts=4 :
|
||||||
|
Loading…
Reference in New Issue
Block a user