aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-08-26 16:50:38 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-08-26 16:50:38 +0000
commit19a51a2c6f605c8d207d8c1a5c424be66ebe4d1a (patch)
tree2550ad54a98ecd3d4312ca4c1206d6934a7525eb /Makefile
parentede773a49376af81604f203fec2d2f1e0904005c (diff)
downloadpandoc-19a51a2c6f605c8d207d8c1a5c424be66ebe4d1a.tar.gz
Make freeebsd and macports targets depend on tarball.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@911 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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)