eole-lemonldap-themes/Makefile

43 lines
1.1 KiB
Makefile
Raw 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
2021-01-28 14:33:13 +01:00
# Cadoles
$(INSTALL_DIR) $(DIR_TEMPLATE)/cadoles
$(INSTALL_DIR) $(DIR_STATIC)/cadoles
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
2021-01-28 14:33:13 +01:00
# Cadoles
cp -r src/cadoles/template/* ${DIR_TEMPLATE}/cadoles/
cp -r src/cadoles/static/* ${DIR_STATIC}/cadoles/
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
2021-01-28 14:33:13 +01:00
# Cadoles
$(RM) -r $(DIR_TEMPLATE)/cadoles
$(RM) -r $(DIR_STATIC)/cadoles