summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-05-07 10:21:16 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2012-05-07 10:21:16 +0200
commit1f0a7025ed184ddd347a6a4f443bacbb042a72e2 (patch)
tree7e9a60c20866fc6536c71192e4a017c2555265b9 /Makefile
parentf1ab18c57fc573ead63f0a7ecfefe088881996d2 (diff)
downloadnetctl-1f0a7025ed184ddd347a6a4f443bacbb042a72e2.tar.gz
netctl-1f0a7025ed184ddd347a6a4f443bacbb042a72e2.tar.xz
Be more precise in the makefile
Previously the packagers username would be visible in the tarball and all files laying around in docs/ would be included.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ab67122..b87acb1 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ netcfg-$(VERSION).tar.xz: | docs
git archive -o netcfg-$(VERSION).tar --prefix=netcfg-$(VERSION)/ stash
git stash pop -q
mv scripts/netcfg{.orig,}
- tar --exclude-vcs --transform "s%^%netcfg-$(VERSION)/%" -uf netcfg-$(VERSION).tar docs/
+ tar --exclude-vcs --transform "s%^%netcfg-$(VERSION)/%" --owner=root --group=root --mtime=./netcfg-$(VERSION).tar -rf netcfg-$(VERSION).tar docs/*.[1-8]
xz netcfg-$(VERSION).tar
pkgbuild: PKGBUILD