richard: server/kolab-webadmin/kolab-webadmin ChangeLog, 1.82, 1.83 Makefile.am, 1.44, 1.45

cvs at kolab.org cvs at kolab.org
Mon Feb 18 00:11:09 CET 2008


Author: richard

Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin
In directory doto:/tmp/cvs-serv20464

Modified Files:
	ChangeLog Makefile.am 
Log Message:
prevent configure to complain about not portable filenames by
replacing basename with `echo ... | sed ...`



Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/ChangeLog,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- ChangeLog	17 Feb 2008 21:51:36 -0000	1.82
+++ ChangeLog	17 Feb 2008 23:11:07 -0000	1.83
@@ -10,6 +10,8 @@
 	  a variable w_or_wo_openpkg (with_or_without_openpkg).
 	* Makefile.am: added a note why the command is needed for the build
 	  of languages files
+	* Makefile.am: prevent configure to complain about not portable
+	  filenames by replacing basename with `echo ... | sed ...`
 
 2008-02-16 Richard Bos <richard at radoeka.nl>
 

Index: Makefile.am
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/Makefile.am,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- Makefile.am	17 Feb 2008 21:51:36 -0000	1.44
+++ Makefile.am	17 Feb 2008 23:11:07 -0000	1.45
@@ -168,10 +168,12 @@
 MSGFMT=msgfmt
 
 .po.mo: $<
-# Without $(mkinstalldirs) $(basename $@) 'make distcheck' fails
-# as the target directory (e.g. php/admin/locale/de/LC_MESSAGES)
-# does not yes exist at build time
-	@$(mkinstalldirs) $(basename $@)
+# Without $(mkinstalldirs) `echo ... | sed ...` a 'make distcheck' would
+# fail as the target directory (e.g. php/admin/locale/de/LC_MESSAGES)
+# does not yes exist at build time.  Use the `echo ... | sed ...` construction
+# as something smarter, like basename, results in configure to complain
+# about not portable filenames.
+	@$(mkinstalldirs) `echo "$@" | sed 's|messages\.mo||'`
 	$(MSGFMT) -o $@ $<
 
 CLEANFILES += php/admin/locale/*/LC_MESSAGES/messages.mo





More information about the commits mailing list