mirror of
git://git.suckless.org/sbase
synced 2025-03-19 17:46:01 +00:00
build: Avoid using numbers in dist target directory
We are using a wildcard to copy things into the directory used to build the distribution tar file, and this directory can contain the .1 extension used in the *.1 wildcard used to copy the man pages. Also, changed the cp command line from -r to -R because -r is not specified in POSIX.
This commit is contained in:
parent
279cec8889
commit
9b71b697fe
5
Makefile
5
Makefile
@ -235,8 +235,9 @@ sbase-box-uninstall: sbase-box proto
|
||||
scripts/uninstall proto
|
||||
|
||||
dist: clean
|
||||
mkdir -p sbase-$(VERSION)
|
||||
cp -r LICENSE Makefile README TODO config.mk *.c *.1 *.h libutf libutil sbase-$(VERSION)
|
||||
mkdir -p sbase
|
||||
cp -R LICENSE Makefile README TODO config.mk *.c *.1 *.h libutf libutil sbase
|
||||
mv sbase sbase-$(VERSION)
|
||||
tar -cf sbase-$(VERSION).tar sbase-$(VERSION)
|
||||
gzip sbase-$(VERSION).tar
|
||||
rm -rf sbase-$(VERSION)
|
||||
|
Loading…
Reference in New Issue
Block a user