From 1b07db81de86fcb2bba90e5a720e04cde2d9fee0 Mon Sep 17 00:00:00 2001 From: erlehmann Date: Mon, 14 Apr 2008 19:16:35 +0000 Subject: [PATCH] lalala makefile git-svn-id: http://yolanda.mister-muffin.de/svn@298 7eef14d0-6ed0-489d-bf55-20463b2d70db --- trunk/makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/trunk/makefile b/trunk/makefile index 57df43c..0b96e98 100644 --- a/trunk/makefile +++ b/trunk/makefile @@ -1,4 +1,5 @@ INSTDIR=/usr/local +PROGNAME=yolanda build: frontend backend echo "building" @@ -18,13 +19,16 @@ frontend: svg2png # TODO: figure out what should go in here install: build - -mkdir "${INSTDIR}/share/yolanda" - -mkdir "${INSTDIR}/share/yolanda/www" + -mkdir "${INSTDIR}/share/${PROGNAME}" + -mkdir "${INSTDIR}/share/${PROGNAME}/www" + # only stuff that is necessary should be copied - how to determine what is necessary ? + cp * ${INSTDIR}/share/${PROGNAME}/www -R remove: rm -rf "${INSTDIR}/share/yolanda" # TODO: kill off database svg2png: - # TODO: figure out how imagemagick works + # TODO: figure out how imagemagick works and convert every +single SVG