diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index c0c5e43..9829de8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -22,6 +22,13 @@ BASH := @BASH@ DIFF := @DIFF@ PATCH := @PATCH@ MKTEMP := @MKTEMP@ +MSGFMT := @MSGFMT@ + +ifeq "$(MSGFMT)" "" +MAKE_NLS := @true +else +MAKE_NLS := $(MAKE) +endif CFLAGS := @CFLAGS@ -Wall @@ -79,6 +86,7 @@ SRC += $(PO:%=po/%) #----------------------------------------------------------------------- all : scripts + $(MAKE_NLS) -C po all BUILD_ROOT=$(BUILD_ROOT) scripts : $(BIN:%=bin/%) $(QUILT:%=quilt/%) $(SCRIPTS:%=scripts/%) \ $(LIB:%=lib/%) $(DOC:%=doc/%) $(MAN1) @@ -162,8 +170,8 @@ $(PACKAGE).spec : $(PACKAGE).spec.in $(PACKAGE).changes Makefile \ @chmod --reference=$< $@ Makefile : Makefile.in - echo "Please run ./configure by hand" - false + @echo "Please run ./configure by hand" + @false install : scripts @INSTALL@ -d $(BUILD_ROOT)$(bindir) @@ -187,10 +195,9 @@ install : scripts @INSTALL@ -d $(BUILD_ROOT)$(mandir)/man1 @INSTALL@ -m 644 $(MAN1) $(BUILD_ROOT)$(mandir)/man1/ - $(MAKE) -C po install BUILD_ROOT=$(BUILD_ROOT) \ + $(MAKE_NLS) -C po install BUILD_ROOT=$(BUILD_ROOT) \ LINGUAS="$(LINGUAS)" localedir=$(localedir) - clean : rm -f $(DIRT) |