diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..57e5b62 --- /dev/null +++ b/Makefile @@ -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/