nouveau make pour la v2

This commit is contained in:
Arnaud Fornerot 2019-09-26 10:57:05 +02:00
parent 0990a8393e
commit bbc9f0901c
1 changed files with 11 additions and 4 deletions

View File

@ -9,15 +9,22 @@ SOURCE := envole-themes
INSTALL := install
INSTALL_DIR := install -m 755 -d
DIR_THEME := ${DESTDIR}/usr/share/lemonldap-ng/portal/templates
DIR_TEMPLATE := ${DESTDIR}/usr/share/lemonldap-ng/portal/templates
DIR_STATIC := ${DESTDIR}/usr/share/lemonldap-ng/portal/htdocs/static
all:
installdirs:
$(INSTALL_DIR) $(DIR_THEME)
# Transnum
$(INSTALL_DIR) $(DIR_TEMPLATE)/transnum
$(INSTALL_DIR) $(DIR_STATIC)/transnum
install: installdirs
cp -r src/lemontheme/* ${DIR_THEME}/
# Transnum
cp -r src/transnum/template/* ${DIR_TEMPLATE}/transnum/
cp -r src/transnum/static/* ${DIR_STATIC}/transnum/
uninstall:
$(RM) -r $(DIR_THEME)/transnum
# Transnum
$(RM) -r $(DIR_TEMPLATE)/transnum
$(RM) -r $(DIR_STATIC)/transnum