diff options
author | P. J. McDermott <pjm@nac.net> | 2012-09-09 15:40:36 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-09-09 15:40:36 (EDT) |
commit | bbcdec7aa18710ff76581f7043729d06df00def7 (patch) | |
tree | 819b4d46a88d3f4d4adb1bf7c9b3f8f0311602d2 | |
parent | 9c8dd3ec9379ad7ac378c813f332dedd35f88cc1 (diff) |
Use new locale directory layout.
-rw-r--r-- | locale/Makefile.in | 12 |
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)' |