]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
build: Add Make variable for PACKAGE_TARNAME.
authorAndre Noll <maan@systemlinux.org>
Sun, 15 Sep 2013 02:23:10 +0000 (02:23 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 1 Dec 2013 10:57:20 +0000 (11:57 +0100)
This gets rid of two more references to autoconf variables.

Makefile.in

index 93aae7cefa2649126ab8b563faab35f1754d9d4b..2625127ff656d06695cdbe92b5a9b2a5fe07d96a 100644 (file)
@@ -4,6 +4,7 @@ exec_prefix := @exec_prefix@
 BINDIR := @bindir@
 VARDIR := /var/paraslash
 MANDIR := @datarootdir@/man/man1
 BINDIR := @bindir@
 VARDIR := /var/paraslash
 MANDIR := @datarootdir@/man/man1
+PACKAGE_TARNAME := @PACKAGE_TARNAME@
 PACKAGE_VERSION := @PACKAGE_VERSION@
 INSTALL := @install@
 STRIP := $(CROSS_COMPILE)strip
 PACKAGE_VERSION := @PACKAGE_VERSION@
 INSTALL := @install@
 STRIP := $(CROSS_COMPILE)strip
@@ -144,10 +145,10 @@ LDFLAGS += @clock_gettime_ldflags@
 man_pages := $(patsubst %, $(man_dir)/%.1, $(prefixed_executables))
 
 autocrap := config.h.in configure
 man_pages := $(patsubst %, $(man_dir)/%.1, $(prefixed_executables))
 
 autocrap := config.h.in configure
-tarball_pfx := @PACKAGE_TARNAME@-$(PACKAGE_VERSION)
+tarball_pfx := $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
 tarball_delete := $(addprefix $(tarball_pfx)/,\
        web .changelog_before_cvs .changelog_cvs .gitignore)
 tarball_delete := $(addprefix $(tarball_pfx)/,\
        web .changelog_before_cvs .changelog_cvs .gitignore)
-tarball := @PACKAGE_TARNAME@-$(PACKAGE_VERSION).tar.bz2
+tarball := $(tarball_pfx).tar.bz2
 
 # To put more focus on warnings, be less verbose as default
 # Use 'make V=1' to see the full commands
 
 # To put more focus on warnings, be less verbose as default
 # Use 'make V=1' to see the full commands