Makefile: logmanager.tar(.PACKER)

This commit is contained in:
Denis Knauf 2012-07-11 11:53:25 +02:00
parent 20a02be1fc
commit f882193404
2 changed files with 17 additions and 0 deletions

5
.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
*.tar
*.gz
*.xz
*.lzma
*.bz2

12
Makefile Normal file
View file

@ -0,0 +1,12 @@
logmanager.tar: logmanager logarchiver logcompressor logcleaner Makefile
pax -w -s '!^!logmanager/!' -f $@ -- $^
%.tar.gz: %.tar
gzip -c < $< > $@
%.tar.lzma: %.tar
lzma -c < $< > $@
%.tar.xz: %.tar
xz -c < $< > $@
%.tar.bz2: %.tar
bzip2 -c < $< > $@