1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-10-26 02:39:01 +02:00

Small Makefile.am changes/bugfixes

This commit is contained in:
Yann 2017-03-01 14:59:46 +01:00
commit afea7e74e2
2 changed files with 6 additions and 4 deletions

View file

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

View file

@ -4,9 +4,11 @@ pluginsdir=$(pkgpythondir)/plugins
lodel2confdir=$(sysconfdir)/lodel2 lodel2confdir=$(sysconfdir)/lodel2
install-data-hook: install-data-hook:
$(MKDIR_P) $(pluginsdir); cp -R * $(pluginsdir) && rm $(pluginsdir)/Makefile* ;\ -@$(MKDIR_P) ${DESTDIR}$(lodel2confdir)
$(MKDIR_P) $(lodel2confdir); \ $(MKDIR_P) ${DESTDIR}$(pluginsdir); cp -R * ${DESTDIR}$(pluginsdir) && rm -v ${DESTDIR}$(pluginsdir)/Makefile* ;
$(LN_S) -f $(pluginsdir) $(lodel2confdir) cd ${DESTDIR};
$(MKDIR_P) ./$(lodel2confdir);
$(LN_S) -rt ${DESTDIR}$(lodel2confdir) .$(pluginsdir)
uninstall-hook: uninstall-hook:
-rm -R ${DESTDIR}$(pluginsdir) -rm -R ${DESTDIR}$(pluginsdir)