X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/projects.git/blobdiff_plain/afd81146024d4bc81b67509735a5e43aca714328..5e8e2b2380cd6697b8634a765cdfd0b9e07c502c:/tools/make/makefile diff --git a/tools/make/makefile b/tools/make/makefile index b2f4944..c4e9d3e 100644 --- a/tools/make/makefile +++ b/tools/make/makefile @@ -31,7 +31,7 @@ include make.pre #----------------------------------------------------------------- compile: $(COMPILE_TARGET) - # compile ist fertig + # compile is ready zip: $(project).zip # ZIP file ready @@ -54,13 +54,16 @@ compile.stamp: $(SOURCES) #----------------------------------------------------------------- copy.stamp: $(COPY_PRE) - $(COPY) $(project) + $(COPY) $(project) $(version) ${arch} @touch copy.stamp control.stamp: $(project).control mkdir -p $(project)/DEBIAN cp $(project).control $(project)/DEBIAN/control + if [ -f $(project).preinst ]; then cp $(project).preinst $(project)/DEBIAN/preinst; fi if [ -f $(project).postinst ]; then cp $(project).postinst $(project)/DEBIAN/postinst; fi + if [ -f $(project).prerm ]; then cp $(project).prerm $(project)/DEBIAN/prerm; fi + if [ -f $(project).postrm ]; then cp $(project).postrm $(project)/DEBIAN/postrm; fi @touch control.stamp $(project).zip: copy.stamp $(project) @@ -84,3 +87,4 @@ clean: %.pdf : %.tex $(SOURCES) pdflatex $< && pdflatex $< +