diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2006-08-05 21:41:37 +0100 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2012-01-05 17:31:12 +0000 |
commit | 208b65c5cf0b8277371a0e787005ad66ee3027a8 (patch) | |
tree | 32e8a77c474c18706070fa61ba862f3cbd5687b5 /bld | |
parent | 849a8357ba2ea8c8f9e030b2b3a4418c054fb38c (diff) | |
download | dnsmasq-208b65c5cf0b8277371a0e787005ad66ee3027a8.tar.gz |
import of dnsmasq-2.33.tar.gzv2.33
Diffstat (limited to 'bld')
-rw-r--r-- | bld/Makefile | 4 | ||||
-rwxr-xr-x | bld/install-mo | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/bld/Makefile b/bld/Makefile index d5d8386..544580c 100644 --- a/bld/Makefile +++ b/bld/Makefile @@ -9,8 +9,8 @@ OBJS = cache.o rfc1035.o util.o option.o forward.o isc.o network.o \ $(CC) $(CFLAGS) $(COPTS) $(I18N) `echo $(COPTS) | ../bld/pkg-wrapper $(PKG_CONFIG) --cflags dbus-1` $(RPM_OPT_FLAGS) -Wall -W -c $< dnsmasq : $(OBJS) - $(CC) -o $@ $(OBJS) `echo $(COPTS) | ../bld/pkg-wrapper $(PKG_CONFIG) --libs dbus-1` $(LIBS) - + $(CC) $(LDFLAGS) -o $@ $(OBJS) `echo $(COPTS) | ../bld/pkg-wrapper $(PKG_CONFIG) --libs dbus-1` $(LIBS) + dnsmasq.pot : $(OBJS:.o=.c) dnsmasq.h config.h xgettext -d dnsmasq --foreign-user --keyword=_ -o dnsmasq.pot -i $(OBJS:.o=.c) diff --git a/bld/install-mo b/bld/install-mo index 903cd22..725aa81 100755 --- a/bld/install-mo +++ b/bld/install-mo @@ -1,9 +1,9 @@ #!/bin/sh for f in *.mo; do - install -d $1/${f/.mo/}/LC_MESSAGES - install -m 644 $f $1/${f/.mo/}/LC_MESSAGES/dnsmasq.mo - echo installing $1/${f/.mo/}/LC_MESSAGES/dnsmasq.mo + install -d $1/${f%.mo}/LC_MESSAGES + install -m 644 $f $1/${f%.mo}/LC_MESSAGES/dnsmasq.mo + echo installing $1/${f%.mo}/LC_MESSAGES/dnsmasq.mo done |