Skip to content
Snippets Groups Projects
Commit 0316e839 authored by Claus-Justus Heine's avatar Claus-Justus Heine
Browse files

Simplify for brain-dead make programs.

parent 4cf283bd
No related branches found
No related tags found
No related merge requests found
...@@ -23,18 +23,16 @@ pkgdata_DATA = $(DEMO).tar.gz ...@@ -23,18 +23,16 @@ pkgdata_DATA = $(DEMO).tar.gz
demo-tarball: $(DEMO).tar.gz demo-tarball: $(DEMO).tar.gz
$(DEMO).tar.gz: $(DEMO).tar $(DEMO).tar.gz: $(DEMO)
$(GZIP) -9 $< $(TAR) cf - $(DEMO) | $(GZIP) -9 > $@
$(DEMO).tar: $(DEMO)
$(TAR) -cf $@ $<
$(DEMO): DEMO $(DEMO): DEMO
mkdir $@ ; cd $@ ; \ mkdir $@ ; cd $@ ; \
( cd ../DEMO ; $(TAR) cf - . ) | $(TAR) xf - ( cd ../DEMO ; $(TAR) cf - . ) | $(TAR) xf -
clean-local: clean-local:
rm -rf $(DEMO) -rm -rf $(DEMO)
-rm -f $(DEMO).tar.gz
if MAINTAINER_MODE if MAINTAINER_MODE
# This target only makes sense for maintainers!! # This target only makes sense for maintainers!!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment