summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 7df5da9..e8201b8 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -43,7 +43,8 @@ metadata = @metadata@
pkglibpackagedir = $(pkglibdir)/package
pkglibmetadatadir = $(pkglibdir)/metadata
-helperdir = $(datadir)/$(package_name)/helpers
+pkgdatadir = $(datadir)/$(package_name)
+helperdir = $(pkgdatadir)/helpers
include $(srcdir)/src/local.mk
include $(srcdir)/lib/local.mk
@@ -60,6 +61,7 @@ pkglibmetadata = $(pkglibmetadata_srcs:.sh=.sm)
man1 = $(man1_srcs:.1in=.1)
man3 = $(man3_srcs:.3in=.3)
locale = $(locale_srcs:.sh=.ms)
+pkgdata = optstring
distdir = $(package_name)-$(package_version)
# TODO: Remove mksysconf.in when no longer used.
@@ -75,6 +77,7 @@ distfiles = \
NEWS \
NEWS.opkhelper \
TODO \
+ optstring \
scripts/changelog2news.sh \
src/local.mk \
lib/local.mk \
@@ -188,7 +191,7 @@ install-pkglibpackage:
install-pkglibmetadata:
@files='$(pkglibmetadata)'; dir='$(pkglibmetadatadir)'; \
mode='644'; $(install_cmds)
-install-data: all-data install-man1 install-man3 install-locale
+install-data: all-data install-man1 install-man3 install-locale install-pkgdata
install-man1:
@files='$(man1)'; dir='$(man1dir)'; mode='644'; $(install_cmds)
install-man3:
@@ -204,6 +207,8 @@ install-locale:
cp "$${f}" "$${df}"; \
chmod 644 "$${df}"; \
done
+install-pkgdata:
+ @files='$(pkgdata)'; dir='$(pkgdatadir)'; mode='644'; $(install_cmds)
uninstall_cmds = \
set -e; \