SUBDIRS = resources src po sbin_SCRIPTS = openvpn-admin DESKTOP_IN_FILES = $(PACKAGE).desktop.in DESKTOP_FILES = $(DESKTOP_IN_FILES:.desktop.in=.desktop) @INTLTOOL_DESKTOP_RULE@ desktopdir = $(datadir)/applications desktop_DATA = $(DESKTOP_FILES) EXTRA_DIST = \ debian/changelog \ debian/compat \ debian/control \ debian/copyright \ debian/docs \ debian/openvpn-admin.desktop \ debian/openvpn-admin.menu \ debian/README.Debian \ debian/rules \ intltool-extract.in \ intltool-merge.in \ intltool-update.in \ $(PACKAGE).in \ $(PACKAGE).mds \ $(PACKAGE)w.cmbx \ $(PACKAGE).pam \ $(PACKAGE).security.in \ $(PACKAGE).spec.in \ $(PACKAGE).spec \ $(DESKTOP_IN_FILES) \ $(DESKTOP_FILES) \ openssl.conf \ install-win32/setpath.nsi \ install-win32/openvpn.nsi.in DISTCLEANFILES = \ configure \ config.guess \ config.sub \ Makefile.in \ install-sh \ aclocal.m4 \ mkinstalldirs \ missing \ intltool-extract \ intltool-merge \ intltool-update \ po/.intltool-merge-cache \ $(DESKTOP_FILES) run: cd src && make run install-data-local: $(PACKAGE) $(INSTALL_DATA) -D $(PACKAGE).pam $(DESTDIR)$(PAM_PREFIX)/pam.d/$(PACKAGE) $(INSTALL_DATA) -D $(PACKAGE).security $(DESTDIR)$(PAM_PREFIX)/security/console.apps/$(PACKAGE) uninstall-local: rm -rf $(DESTDIR)$(PAM_PREFIX)/pam.d/$(PACKAGE) rm -rf $(DESTDIR)$(PAM_PREFIX)/security/console.apps/$(PACKAGE) rpm: dist rpmbuild -tb $(PACKAGE)-$(VERSION).tar.gz deb: dist dpkg-buildpackage -rfakeroot -us -uc -nc