eole-lemonldap-themes/Makefile

31 lines
872 B
Makefile

#!/usr/bin/make
#---------------------------------------------------------------------------
# Makefile du paquet eole-envole-themes du projet ENVOLE
# Envole 5
#---------------------------------------------------------------------------
SOURCE := envole-themes
INSTALL := install
INSTALL_DIR := install -m 755 -d
DIR_TEMPLATE := ${DESTDIR}/usr/share/lemonldap-ng/portal/templates
DIR_STATIC := ${DESTDIR}/usr/share/lemonldap-ng/portal/htdocs/static
all:
installdirs:
# Transnum
$(INSTALL_DIR) $(DIR_TEMPLATE)/transnum
$(INSTALL_DIR) $(DIR_STATIC)/transnum
install: installdirs
# Transnum
cp -r src/transnum/template/* ${DIR_TEMPLATE}/transnum/
cp -r src/transnum/static/* ${DIR_STATIC}/transnum/
uninstall:
# Transnum
$(RM) -r $(DIR_TEMPLATE)/transnum
$(RM) -r $(DIR_STATIC)/transnum