Skip to content

Commit 925f4df

Browse files
committed
Makefile.in: fix BSD make incompatible $(wildcard ...) in stamp targets
BSD make does not have a wildcard function -- it treats the argument as a variable name with spaces, generating warnings. Use $(POFILES) in messages/ (already defined) and drop the dependency list in templates/ (stamp file is sufficient for a clean build).
1 parent 1b14050 commit 925f4df

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

messages/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ doinstall: .converted.stamp mofiles
115115
done
116116

117117
# Use a stamp file to track conversion, so it only happens once
118-
.converted.stamp: $(wildcard */LC_MESSAGES/*.po)
118+
.converted.stamp: $(POFILES)
119119
../scripts/convert_to_utf8 -d .
120120
touch .converted.stamp
121121

templates/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
6060
all: converttemplates
6161

6262
# Use a stamp file to track conversion, so it only happens once
63-
.converted.stamp: $(wildcard */LC_MESSAGES/*.po) $(wildcard */*.html) $(wildcard */*.txt)
63+
.converted.stamp:
6464
../scripts/convert_to_utf8 -d .
6565
touch .converted.stamp
6666

0 commit comments

Comments
 (0)