Converted teststrings into a tool

Monotone-Parent: ae0c0cd3dbc947562a3dbd28f513f46bcd28a5b4
Monotone-Revision: f6ec5191473f90384de5c3301569150128a2ae63

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-10-07T15:27:41
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2011-10-07 15:27:41 +00:00
parent b85b885608
commit f045996ac6
6 changed files with 129 additions and 20 deletions
+5 -16
View File
@@ -1,19 +1,8 @@
PROGRAM=teststrings
SRCS=teststrings.m
OBJS=$(SRCS:.m=.o)
teststrings: $(OBJS)
$(CC) -o $@ $< $(GNUSTEP_LIBRARIES_FLAGS) -lgnustep-base -L../../SoObjects/SOGo/SOGo.framework -lSOGo -lobjc
include $(GNUSTEP_MAKEFILES)/common.make
all: $(PROGRAM)
TOOL_NAME = teststrings
teststrings_OBJC_FILES += \
teststrings.m
clean:
rm -f $(PROGRAM) $(OBJS) *~
.m.o:
$(CC) -o $@ -c $(GNUSTEP_HEADERS_FLAGS) $(AUXILIARY_OBJCFLAGS) $(OBJCFLAGS) $(CPPFLAGS) -I../../SoObjects $<
.SUFFIXES: .m .o
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/tool.make
+2 -2
View File
@@ -5,12 +5,12 @@ RC=0
if [ ! -f teststrings ]
then
make teststrings
make
fi
for stringfile in ${TOPDIR}/*/*/*.lproj/Localizable.strings
do
./teststrings "$stringfile" > /dev/null
./obj/teststrings "$stringfile" > /dev/null
code=$?
if test $code -eq 0;
then