[SCM] juce/master: make sure that libjuce_builddate.h exists

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Sun Jan 31 20:19:34 UTC 2016


The following commit has been merged in the master branch:
commit e8f1ea8264e9792abde123964e84d13b507e7c76
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Sun Jan 31 15:09:28 2016 +0100

    make sure that libjuce_builddate.h exists
    
    so the libbuilder-Makefile does not depend on being called from debian/rules

diff --git a/debian/libbuilder/Makefile b/debian/libbuilder/Makefile
index 18c00da..cf70334 100644
--- a/debian/libbuilder/Makefile
+++ b/debian/libbuilder/Makefile
@@ -106,10 +106,13 @@ $(OUTDIR)/$(TARGET): $(OBJECTS) $(RESOURCES)
 	- at mkdir -p $(OUTDIR)
 	$(CXX) -o $@ $^ $(JUCE_LDFLAGS) $(LDFLAGS) $(TARGET_ARCH)
 
-$(OBJDIR)/%.o: %.cpp
+$(OBJDIR)/%.o: %.cpp libjuce_builddate.h
 	mkdir -p "$(OBJDIR)"
 	$(CXX) $(JUCE_CPPFLAGS) $(JUCE_CFLAGS) $(JUCE_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS) -o "$@" -c "$<"
 
+libjuce_builddate.h:
+	touch libjuce_builddate.h
+
 clean:
 	@echo Cleaning juce_dll
 	rm -rf build

-- 
juce packaging



More information about the pkg-multimedia-commits mailing list