From 19a51a2c6f605c8d207d8c1a5c424be66ebe4d1a Mon Sep 17 00:00:00 2001 From: fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> Date: Sun, 26 Aug 2007 16:50:38 +0000 Subject: Make freeebsd and macports targets depend on tarball. git-svn-id: https://pandoc.googlecode.com/svn/trunk@911 788f1e2b-df1e-0410-8736-df70ead52e1b --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 311296b6b..8339a3217 100644 --- a/Makefile +++ b/Makefile @@ -246,7 +246,7 @@ cleanup_files+=$(freebsd_makefile) $(freebsd_distinfo) freebsd : $(freebsd_makefile) $(freebsd_distinfo) $(freebsd_makefile) : $(freebsd_template) sed -e 's/@VERSION@/$(VERSION)/' $< > $@ -$(freebsd_distinfo) : $(tarball) +$(freebsd_distinfo) : tarball echo "MD5 ($(tarball)) = $(word 1, $(shell md5sum $(tarball)))" > $@ ; \ echo "SHA256 ($(tarball)) = $(word 1, $(shell sha256sum $(tarball)))" >> $@ ; \ echo "SIZE ($(tarball)) = $(word 5, $(shell ls -l $(tarball)))" >> $@ @@ -258,7 +258,7 @@ portfile:=$(macport_dest)/Portfile portfile_template:=$(portfile).in cleanup_files+=$(portfile) macport : $(portfile) -$(portfile) : $(portfile_template) $(tarball) +$(portfile) : $(portfile_template) tarball sed -e 's/@VERSION@/$(VERSION)/' $(portfile_template) | \ sed -e 's/@TARBALLMD5SUM@/$(word 2, $(shell openssl md5 $(tarball)))/' > \ $(portfile) -- cgit v1.2.3