summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 2734a61..fe3d1c0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -54,6 +54,13 @@ pro_archman_SOURCES =
pro_archman_SHPPFLAGS = \
-DLOCALEDIR="$(localedir)" \
-DTEXTDOMAIN="$(TEXTDOMAIN)"
+if EMBEDDED_USIGN
+pro_archman_SHPPFLAGS += \
+ -DUSIGN="$(pkglibexecdir)/usign$(EXEEXT)"
+else
+pro_archman_SHPPFLAGS += \
+ -DUSIGN="$(USIGN)"
+endif
pro_archman_LDADD = $(pro_archman_SOURCES:.sh=.sho)
EXTRA_pro_archman_DEPENDENCIES = config.sh