eole-lemonldap-themes/Makefile

31 lines
872 B
Makefile
Raw Permalink Normal View History

2019-09-25 11:58:19 +02:00
#!/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
2019-09-26 10:57:05 +02:00
DIR_TEMPLATE := ${DESTDIR}/usr/share/lemonldap-ng/portal/templates
DIR_STATIC := ${DESTDIR}/usr/share/lemonldap-ng/portal/htdocs/static
2019-09-25 11:58:19 +02:00
all:
installdirs:
2019-09-26 10:57:05 +02:00
# Transnum
$(INSTALL_DIR) $(DIR_TEMPLATE)/transnum
$(INSTALL_DIR) $(DIR_STATIC)/transnum
2019-09-25 11:58:19 +02:00
install: installdirs
2019-09-26 10:57:05 +02:00
# Transnum
cp -r src/transnum/template/* ${DIR_TEMPLATE}/transnum/
cp -r src/transnum/static/* ${DIR_STATIC}/transnum/
2019-09-25 11:58:19 +02:00
uninstall:
2019-09-26 10:57:05 +02:00
# Transnum
$(RM) -r $(DIR_TEMPLATE)/transnum
$(RM) -r $(DIR_STATIC)/transnum