Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132
  1. include $(top_builddir)/Makefile-common.am.inc
  2. SUBDIRS=auth editorial_model leapi plugin settings utils plugins validator mlnamedobject
  3. EXTRA_DIST = plugins
  4. lodel_PYTHON = *.py
  5. CLEANFILES = buildconf.py
  6. all-local: buildconf.py
  7. lodeldir=$(pkgpythondir)/
  8. gitclean:
  9. -rm Makefile Makefile.in
  10. logdir = $(localstatedir)/log/lodel2/
  11. do_subst = sed -e 's,\[@\]LODEL2_VARDIR\[@\],$(localstatedir)/lodel2/,g' \
  12. -e 's,\[@\]LODEL2_LOGDIR\[@\],$(logdir),g' \
  13. -e 's,\[@\]MULTISITE_DATA_DIRNAME\[@\],$(lodel2_multisite_data_dirname),g' \
  14. -e 's,\[@\]MULTISITE_CTX_DIRNAME\[@\],$(lodel2_multisite_ctx_dirname),g'
  15. install-data-hook:
  16. $(MKDIR_P) ${DESTDIR}$(logdir)
  17. uninstall-hook:
  18. -rmdir ${DESTDIR}$(logdir)
  19. buildconf.py: buildconf.py.am
  20. $(do_subst) < $(srcdir)/buildconf.py.am > buildconf.py