moved Makefile to root dir and updated it

git-svn-id: https://callirhoe.googlecode.com/svn/branches/phantome@224 81c8bb96-aa45-f2e2-0eef-c4fa4a15c6df
This commit is contained in:
ph4ntome@gmail.com 2014-11-06 11:50:29 +00:00
parent b50ae0a592
commit d9cb3f5f2f

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
DESTDIR=/usr
all: callirhoe calmagick
cd scripts && ./make_pkg
install: install-package
install-package:
mkdir -p $(DESTDIR)/bin
mkdir -p $(DESTDIR)/share/callirhoe/holidays
install -m755 callirhoe $(DESTDIR)/bin/callirhoe
install -m755 calmagick $(DESTDIR)/bin/calmagick
install -m644 holidays/* $(DESTDIR)/share/callirhoe/holidays/