--- src/Makefile.am.orig 2014-05-16 16:51:21 UTC +++ src/Makefile.am @@ -50,6 +50,13 @@ pcmanfm_LDADD = \ $(FM_LIBS) \ $(NULL) +# create plugins' directory anyway +install-exec-hook: + $(MKDIR_P) $(DESTDIR)$(libdir)/pcmanfm + +uninstall-hook: + -rmdir $(DESTDIR)$(libdir)/pcmanfm + # prepare modules directory install-exec-local: $(MKDIR_P) "$(DESTDIR)$(libdir)/pcmanfm"