summaryrefslogtreecommitdiffstats
path: root/packages/Makefile.am
diff options
context:
space:
mode:
authorMiroslav Grepl <mgrepl@redhat.com>2014-04-11 09:37:53 +0200
committerMiroslav Grepl <mgrepl@redhat.com>2014-04-11 09:37:53 +0200
commit47be9ff57e72906660bb62a515222f482131e1fb (patch)
tree2cb0ef0ba48d73b1df7cc0915754a17e19464bb6 /packages/Makefile.am
downloadsetools-master.tar.gz
setools-master.tar.xz
setools-master.zip
Create setools-3.3.7 git repomaster
Diffstat (limited to 'packages/Makefile.am')
-rw-r--r--packages/Makefile.am38
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/Makefile.am b/packages/Makefile.am
new file mode 100644
index 0000000..82c9947
--- /dev/null
+++ b/packages/Makefile.am
@@ -0,0 +1,38 @@
+bwidget_destdir = @BWIDGET_DESTDIR@
+dist_noinst_DATA = BWidget-1.8.0.tar.bz2 combobox.tcl mainframe.tcl notebook.tcl \
+ Doxyfile
+
+SUBDIRS = rpm
+
+if COPY_BWIDGET
+ copy_bwidget = yes
+else
+ copy_bwidget = no
+endif
+
+pkgconfig_DATA = libqpol.pc libapol.pc libpoldiff.pc libseaudit.pc libsefs.pc
+pkgconfigdir = @libdir@/pkgconfig
+
+BUILT_SOURCES = $(pkgconfig_DATA)
+
+$(pkgconfig_DATA): $(top_builddir)/config.status
+
+install-data-local:
+ if test $(copy_bwidget) = "yes"; then \
+ tar jxf BWidget-1.8.0.tar.bz2; \
+ test -z "$(bwidget_destdir)" || $(mkdir_p) "$(bwidget_destdir)" ; \
+ cd BWidget-1.8.0 ; \
+ find . -type d -exec $(mkdir_p) "$(bwidget_destdir)/{}" \; ; \
+ find . -type f -exec $(INSTALL_DATA) '{}' $(bwidget_destdir)/'{}' \; ; \
+ fi
+
+%.pc: %.pc.in Makefile
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+
+uninstall-local:
+ if test $(copy_bwidget) = "yes"; then \
+ rm -rf $(bwidget_destdir) ; \
+ fi
+
+clean-local:
+ -rm -rf BWidget-1.8.0