From bbcdec7aa18710ff76581f7043729d06df00def7 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 09 Sep 2012 15:40:36 -0400 Subject: Use new locale directory layout. --- (limited to 'locale') 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)' -- cgit v0.9.1