2002-04-25 Marcus Brinkmann <marcus@g10code.de>
[pinentry.git] / Makefile.am
index 6173825..dd9f02a 100644 (file)
@@ -33,16 +33,22 @@ else
 pinentry_gtk = 
 endif
 
-if BUILD_PINENTRY_KDE
-pinentry_kde = kde
+if BUILD_PINENTRY_QT
+pinentry_qt = qt
 else
-pinentry_kde = 
+pinentry_qt = 
 endif
 
 SUBDIRS = assuan secmem pinentry ${pinentry_curses} \
-       ${pinentry_gtk} ${pinentry_kde}
+       ${pinentry_gtk} ${pinentry_qt}
 
 signed-dist: $(distdir).tar.gz.sig
 
 %.sig: %
        gpg -sbav -u 0x57548DCD $@ $<
+
+install-exec-local:
+       @list='$(bin_PROGRAMS)'; for p in $$list; do \
+         echo "  $(SETCAP) cap_ipc_lock+p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
+         $(SETCAP) cap_ipc_lock+p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'` || true; \
+       done