Automating things

git-svn-id: https://callirhoe.googlecode.com/svn/branches/phantome@178 81c8bb96-aa45-f2e2-0eef-c4fa4a15c6df
This commit is contained in:
ph4ntome@gmail.com 2014-10-31 14:49:25 +00:00
parent 6e3e42d0d1
commit 23512dc89c
2 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,13 @@
install:
install -m 0755 callirhoe $(prefix)/bin
install -m 0755 calmagick $(prefix)/bin
install -m 0755 callirhoe $(prefix)/bin
install -m 0755 calmagick $(prefix)/bin
install -m 644 holidays/ $(prefix)/share/callirhoe
install -m 644 holidays/germany_berlin_holidays.DE.dat $(prefix)/share/callirhoe
install -m 644 holidays/greek_holidays.EL.dat $(prefix)/share/callirhoe
install -m 644 holidays/french_holidays.EN.dat $(prefix)/share/callirhoe
install -m 644 holidays/french_holidays_zone_A.FR.dat $(prefix)/share/callirhoe
install -m 644 holidays/french_holidays_zone_C.FR.dat $(prefix)/share/callirhoe
install -m 644 holidays/generic_holidays.EN.dat $(prefix)/share/callirhoe
install -m 644 holidays/french_holidays_zone_B.FR.dat $(prefix)/share/callirhoe
install -m 644 holidays/french_holidays.FR.dat $(prefix)/share/callirhoe
install -m 644 holidays/greek_namedays.EL.dat $(prefix)/share/callirhoe

View File

@ -31,4 +31,8 @@ echo \#!/usr/bin/env python2 | cat - calmagick.zip > calmagick
chmod 755 calmagick
rm calmagick.zip
# Create Makefile
echo install: > Makefile
echo install -m 0755 callirhoe "$""(prefix)"/bin >> Makefile
echo install -m 0755 calmagick "$""(prefix)"/bin >> Makefile
find holidays/ | sed 's/^/ install -m 644 /' | sed 's/$/ \$(prefix)\/share\/callirhoe/' >> Makefile