[interchange-cvs] interchange - racke modified Makefile.PL

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Tue Apr 1 18:16:01 2003


User:      racke
Date:      2003-04-01 23:15:35 GMT
Modified:  .        Makefile.PL
Log:
change parameter for localize script

Revision  Changes    Path
2.36      +2 -1      interchange/Makefile.PL


rev 2.36, prev_rev 2.35
Index: Makefile.PL
===================================================================
RCS file: /var/cvs/interchange/Makefile.PL,v
retrieving revision 2.35
retrieving revision 2.36
diff -u -r2.35 -r2.36
--- Makefile.PL	27 Jan 2003 19:03:35 -0000	2.35
+++ Makefile.PL	1 Apr 2003 23:15:35 -0000	2.36
@@ -790,13 +790,14 @@
 	return <<'EOF';
 UIDIR=dist/lib/UI
 UILCDIR=$(UIDIR)/locales
+UIMENUDIR=$(UIDIR)/pages/include/menus
 
 localefiles:
 	@for langfile in $(UILCDIR)/*_*.cfg; do \
 		lang=`basename $$langfile .cfg`; \
 		mv $$langfile $$langfile.old; \
 		cat $(UILCDIR)/default.cfg >> $$langfile.old; \
-		if ! $(INSTALLBIN)/localize -n -m $$langfile.old -u $(UIDIR) -l $$lang `find $(UIDIR) -type f -not -empty` > $$langfile; then \
+		if ! $(INSTALLBIN)/localize -n -m $$langfile.old -u $(UIMENUDIR) -l $$lang `find $(UIDIR) -type f -not -empty` > $$langfile; then \
 		echo "Failed to generate locale file $$langfile"; \
 		mv $$langfile.old $$langfile; \
 		fi; \