diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-02-15 13:25:19 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-02-15 13:25:19 -0600 |
commit | ed432b431805543fd27b991aeab7908fabe74ae0 (patch) | |
tree | 5824b6f132850ea6af66635e9ed68b09424ddbbc /src/Makefile.am | |
parent | 9756029c79b5bd640b071c19e26c5908ed0102df (diff) | |
parent | fe58c7854934c37a765b7c50721c4a7e7bda5aab (diff) | |
download | ayatana-indicator-datetime-ed432b431805543fd27b991aeab7908fabe74ae0.tar.gz ayatana-indicator-datetime-ed432b431805543fd27b991aeab7908fabe74ae0.tar.bz2 ayatana-indicator-datetime-ed432b431805543fd27b991aeab7908fabe74ae0.zip |
lp:~mterry/indicator-datetime/libtimezonemap
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 254022e..328f279 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -46,32 +46,28 @@ libindicator_datetime_la_SOURCES =\ datetime-prefs.c \ datetime-prefs-locations.c \ datetime-prefs-locations.h \ - timezone-completion.c \ - timezone-completion.h \ utils.c \ utils.h \ settings-shared.h libindicator_datetime_la_CFLAGS = \ -Wall \ -Werror \ - -I$(top_srcdir)/libmap \ $(PREF_CFLAGS) \ -DTIMEZONE_FILE="\"/etc/timezone\"" \ -DPKGDATADIR="\"$(pkgdatadir)\"" libindicator_datetime_la_LIBADD = \ - $(top_builddir)/libmap/libmap.la \ $(PREF_LIBS) libindicator_datetime_la_LDFLAGS = -module -avoid-version gen-%.xml.c: %.xml @echo "Building $@ from $<" - @echo "const char * _$(subst -,_,$(subst .,_,$(basename $<))) = " > $@ + @echo "const char * _$(subst -,_,$(subst .,_,$(basename $(notdir $<)))) = " > $@ @sed -e "s:\":\\\\\":g" -e s:^:\": -e s:\$$:\\\\n\": $< >> $@ @echo ";" >> $@ gen-%.xml.h: %.xml @echo "Building $@ from $<" - @echo "extern const char * _$(subst -,_,$(subst .,_,$(basename $<)));" > $@ + @echo "extern const char * _$(subst -,_,$(subst .,_,$(basename $(notdir $<))));" > $@ BUILT_SOURCES = \ gen-datetime-service.xml.c \ |