Add minimal makefile

This commit is contained in:
Kienan Stewart 2018-01-28 18:51:32 -05:00
parent 0a2b42237f
commit 828b476570
1 changed files with 10 additions and 0 deletions

10
Makefile Normal file
View File

@ -0,0 +1,10 @@
PREFIX=
ALTERNC_BASE_PATH ?= /usr/share/alternc/panel/
CSS_IDENTIFIER = "/*** alternc-oneclickinstaller ***/"
install:
cp -r src/ $(PREFIX)/$(ALTERNC_BASE_PATH)
C := $(grep -q "$(CSS_IDENTIFIER)" ; echo $$?)
ifneq ($(C), 0)
cat css/style-custom.css >> $(PREFIX)/$(ALTERNC_BASE_PATH)/admin/styles/style-custom.css
endif