Parcourir la source

Add a missing file

Yann Weber il y a 7 ans
Parent
révision
2f6cdd279d
2 fichiers modifiés avec 16 ajouts et 1 suppressions
  1. 1
    1
      Makefile.am
  2. 15
    0
      progs/slim/multisite_install_model/Makefile

+ 1
- 1
Makefile.am Voir le fichier

@@ -75,6 +75,6 @@ distclean-local:
75 75
 	-rm -vR debian_package/${PACKAGE}-${VERSION}.tar.gz
76 76
 
77 77
 gitclean: distclean cleandoc
78
-	-rm -vR autom4te.cache/ aclocal.m4 install-sh missing py-compile configure; find ./ -name Makefile.in |xargs rm -v
78
+	-rm -vR debian_package autom4te.cache/ aclocal.m4 install-sh missing py-compile configure; find ./ -name Makefile.in |xargs rm -v
79 79
 
80 80
 .PHONY: cleandoc tests doc

+ 15
- 0
progs/slim/multisite_install_model/Makefile Voir le fichier

@@ -0,0 +1,15 @@
1
+python=python3
2
+
3
+all: dyncode
4
+
5
+dyncode:
6
+	$(python) -c 'import lodel_admin; lodel_admin.refresh_dyncode()'
7
+
8
+init_db: 
9
+	$(python) -c 'import lodel_admin; lodel_admin.init_all_dbs()'
10
+
11
+list_hooks: dyncode
12
+	$(python) -c 'import lodel_admin; lodel_admin.list_registered_hooks()'
13
+
14
+refresh_plugins:
15
+	$(python) -c 'import lodel_admin; lodel_admin.update_plugin_discover_cache()'

Loading…
Annuler
Enregistrer