Add minimal makefile
This commit is contained in:
parent
0a2b42237f
commit
828b476570
|
@ -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
|
Loading…
Reference in New Issue