aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2013-09-02 14:01:05 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2013-09-02 14:01:05 +0200
commit0c2348581cdd506165b02e5ad4fd3f975160b55e (patch)
treea06d0edfbc151eefcc2fd96745cfb2c6d5b24491
parent9f85122af913f14e300bc777b545dd3760a2fe3c (diff)
downloadstrongswan-0c2348581cdd506165b02e5ad4fd3f975160b55e.tar.bz2
strongswan-0c2348581cdd506165b02e5ad4fd3f975160b55e.tar.xz
Install SWID tag also in /share/
-rw-r--r--src/libpts/plugins/imc_swid/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libpts/plugins/imc_swid/Makefile.am b/src/libpts/plugins/imc_swid/Makefile.am
index f5bf9755f..f355ebf68 100644
--- a/src/libpts/plugins/imc_swid/Makefile.am
+++ b/src/libpts/plugins/imc_swid/Makefile.am
@@ -2,7 +2,8 @@ regid = regid.2004-03.org.strongswan
unique_sw_id = strongSwan-$(PACKAGE_VERSION_MAJOR)-$(PACKAGE_VERSION_MINOR)-$(PACKAGE_VERSION_BUILD)$(PACKAGE_VERSION_REVIEW)
swid_tag = $(regid)_$(unique_sw_id).swidtag
-ipsec_SCRIPTS = $(swid_tag)
+swiddir = $(prefix)/share/$(regid)
+swid_DATA = $(swid_tag)
EXTRA_DIST = $(regid)_strongSwan.swidtag.in
CLEANFILES = $(regid)_strongSwan*.swidtag
@@ -36,7 +37,7 @@ imc_swid_la_SOURCES = imc_swid.c imc_swid_state.h imc_swid_state.c
imc_swid_la_LDFLAGS = -module -avoid-version
install-data-hook:
- chmod a-x $(DESTDIR)$(ipsecdir)/$(swid_tag)
+ cp $(swiddir)/$(swid_tag) $(DESTDIR)$(ipsecdir)
uninstall-hook:
rm $(DESTDIR)$(ipsecdir)/*.swidtag