Makefile fixed for git
This commit is contained in:
parent
7f9c89d528
commit
c15983073f
11
Makefile
11
Makefile
@ -1,5 +1,5 @@
|
||||
# makedist Makefile for installation and packaging
|
||||
# Copyright (c) 2003-2007 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
# Copyright (c) 2003-2011 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
@ -17,9 +17,12 @@ datadir := $(prefix)/share
|
||||
sysconfdir := /etc
|
||||
|
||||
dist: clean
|
||||
@tar cf - --exclude=$(dist_archive) --exclude=global/defs.inc \
|
||||
--exclude global/distromatic.conf -C .. $(distdir) | \
|
||||
bzip2 -9 -c > $(dist_archive)
|
||||
@git log > ChangeLog.git
|
||||
@mkdir /tmp/$(distdir)
|
||||
cp -a * /tmp/$(distdir)/
|
||||
@rm -f $(dist_archive)
|
||||
tar cf - -C /tmp $(distdir) | bzip2 -9 -c > $(dist_archive)
|
||||
@rm -rf /tmp/$(distdir)
|
||||
@echo "file \`$(dist_archive)' created"
|
||||
|
||||
dist-rpm: dist
|
||||
|
Loading…
Reference in New Issue
Block a user