summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-03-20 22:37:50 +0200
committerVille Skyttä <ville.skytta@iki.fi>2011-03-20 22:37:50 +0200
commit7d60f75503f49eddb1ac794f0fb40ce7d3d41adc (patch)
tree11553874f59a9a8b4dbbdfed6cc36b45102a5429
parentdbdba40a8ad0465e695b12b1069390332968e9ae (diff)
downloadvdr-plugin-text2skin-7d60f75503f49eddb1ac794f0fb40ce7d3d41adc.tar.gz
vdr-plugin-text2skin-7d60f75503f49eddb1ac794f0fb40ce7d3d41adc.tar.bz2
Use LDFLAGS, make dist depend on up to date *.po.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 31f7820..9e88f6d 100644
--- a/Makefile
+++ b/Makefile
@@ -141,13 +141,13 @@ i18n: $(I18Npo:%.po=$(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo)
### Targets:
libvdr-$(PLUGIN).so: $(OBJS)
- $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
ifndef DEBUG
$(STRIP) $(LIBDIR)/$@.$(APIVERSION)
endif
-dist: clean
+dist: $(I18Npo) clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)
@mkdir $(TMPDIR)/$(ARCHIVE)
@cp -a * $(TMPDIR)/$(ARCHIVE)