summaryrefslogtreecommitdiffstats
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/Makefile.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/locale/Makefile.in b/locale/Makefile.in
index 02ce786..a28ca86 100644
--- a/locale/Makefile.in
+++ b/locale/Makefile.in
@@ -26,10 +26,10 @@ datadir = @datadir@
localedir = @localedir@
.SUFFIXES:
-.SUFFIXES: .sh
+.SUFFIXES: .sh .ms
-SRCS = en_US.sh
-OBJS = $(SRCS:.sh=)
+SRCS = en_US/libopkbuild.1.sh
+OBJS = $(SRCS:.sh=.ms)
distdir = ../$(package_name)-$(package_version)/locale
distfiles = Makefile.in $(SRCS)
@@ -38,7 +38,8 @@ all: $(OBJS)
$(OBJS):
@printf ' CP locale/%s\n' '$@'
- @cp '$(srcdir)/locale/$@.sh' '$@'
+ @mkdir -p "$$(basename '$@')"
+ @cp '$(srcdir)/locale/$*.sh' '$@'
clean:
@for obj in $(OBJS); do \
@@ -62,4 +63,7 @@ uninstall:
$(distdir):
@mkdir -p '$(distdir)'
+ @for file in $(distfiles); do \
+ mkdir -p "$(distdir)/$${file%/*}" \
+ done
@cp -pR $(distfiles) '$(distdir)'