yolanda/trunk/makefile

31 lines
686 B
Makefile
Raw Normal View History

INSTDIR=/usr/local
build: frontend backend
echo "building"
backend: database
# TODO: copy apache configuration
database:
# TODO: database setup - use dialog to answer the questions
# which database ? (suggested: mysql)
# root pasword ? (for setup)
# yolanda username ? (suggested: yolanda)
# yolanda password ? (will generate random username if none is chosen)
dialog --yesno "database stuff" 10 40
frontend: svg2png
# TODO: figure out what should go in here
install: build
-mkdir "${INSTDIR}/share/yolanda"
-mkdir "${INSTDIR}/share/yolanda/www"
remove:
rm -rf "${INSTDIR}/share/yolanda"
# TODO: kill off database
svg2png:
# TODO: figure out how imagemagick works