summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2012-09-18 19:53:47 +0200
committerrofl0r <retnyg@gmx.net>2012-09-18 19:53:47 +0200
commit0f56a7c787dee64d2d501d7b09bdd193ea76b83e (patch)
tree2c88aae1c06393d9cadb470c2b2009b6a8cd3029 /Makefile
parentef2e210db08d4fbebda751b6dc87ef820ff30dde (diff)
downloadgettext-tiny-0f56a7c787dee64d2d501d7b09bdd193ea76b83e.tar.gz
add xgettext
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ea916d2..2bfc1ca 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ HEADERS = libintl.h
ALL_INCLUDES = $(HEADERS)
ALL_LIBS=libintl.a
-ALL_TOOLS=msgfmt msgmerge
+ALL_TOOLS=msgfmt msgmerge xgettext
CFLAGS=-O0 -fPIC
@@ -54,6 +54,8 @@ msgmerge: $(OBJS)
msgfmt: $(OBJS)
$(CC) $(LDFLAGS) -static -o $@ src/msgfmt.o src/poparser.o
+xgettext:
+ cp src/xgettext.sh ./xgettext
$(DESTDIR)$(libdir)/%.a: %.a
install -D -m 755 $< $@