From 9c0cd1f2b1b425510417a337aaba9a179ff8ce6e Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Sat, 23 Feb 2013 15:32:23 +0100 Subject: Fixed the 'dist' target of the Makefiles. --- Makefile | 6 +++--- css/Makefile | 3 +++ httpd/Makefile | 5 ++++- javascript/Makefile | 3 +++ pages/Makefile | 3 +++ 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index e8bf910..af04aa8 100644 --- a/Makefile +++ b/Makefile @@ -164,7 +164,7 @@ libvdr-$(PLUGIN).so: $(VERSIONSUFFIX) $(SUBDIRS) $(PLUGINOBJS) ifneq ($(TNTVERS7),yes) @echo "" - @echo "If LIVE was built successfully and you can try to use it!" + @echo "LIVE was built successfully and you can try to use it!" @echo "" @echo "" @echo "" @@ -189,9 +189,9 @@ dist: clean @-rm -rf $(TMPDIR)/$(ARCHIVE) @mkdir $(TMPDIR)/$(ARCHIVE) @cp -a * $(TMPDIR)/$(ARCHIVE) - @tar czf $(PACKAGE).tgz -C $(TMPDIR) $(ARCHIVE) + @tar czf $(TMPDIR)/$(PACKAGE).tar.gz -C $(TMPDIR) $(ARCHIVE) @-rm -rf $(TMPDIR)/$(ARCHIVE) - @echo Distribution package created as $(PACKAGE).tgz + @echo Distribution package created as $(TMPDIR)/$(PACKAGE).tar.gz clean: $(SUBDIRS) @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot diff --git a/css/Makefile b/css/Makefile index be9341a..0ce391c 100644 --- a/css/Makefile +++ b/css/Makefile @@ -56,3 +56,6 @@ libcss.a: $(OBJS) clean: @rm -f *~ *.o core* libcss.a $(OBJS:%.o=%.cpp) + +dist: clean + @echo "Nothing to do for distribution here ..." diff --git a/httpd/Makefile b/httpd/Makefile index 6aa448c..a11d57c 100644 --- a/httpd/Makefile +++ b/httpd/Makefile @@ -40,4 +40,7 @@ libhttpd.a: $(OBJS) $(AR) r $@ $^ clean: - @rm -f *.o core* libhttpd.a proctest $(DEPFILE) + @rm -f *~ *.o core* libhttpd.a proctest $(DEPFILE) + +dist: clean + @echo "Nothing to do for distribution here ..." diff --git a/javascript/Makefile b/javascript/Makefile index d6b72b2..50f3b52 100644 --- a/javascript/Makefile +++ b/javascript/Makefile @@ -56,3 +56,6 @@ libjavascript.a: $(OBJS) clean: @rm -f *~ *.o core* libjavascript.a $(OBJS:%.o=%.cpp) + +dist: clean + @echo "Nothing to do for distribution here ..." diff --git a/pages/Makefile b/pages/Makefile index 6a123d6..9a1129c 100644 --- a/pages/Makefile +++ b/pages/Makefile @@ -74,3 +74,6 @@ libpages.a: $(OBJS) clean: @rm -f *~ *.o core* libpages.a $(OBJS:%.o=%.cpp) $(DEPFILE) + +dist: clean + @echo "Nothing to do for distribution here ..." -- cgit v1.2.3