summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorMike Wey2017-05-25 20:20:06 +0200
committerMike Wey2017-05-25 20:20:06 +0200
commit4df3136229de711838646a65b6cf040226eeb7cb (patch)
treea2ee596419028cd458325d224439854f8b82063e /GNUmakefile
parent87c811161c608f8428ff8e399c60f9672c6cfc7e (diff)
Add dub support.
dub will generate the import library of 32bit windows (OMF), the other windows targets might need some more work. See: #12
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 55e5b35..d306675 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -82,10 +82,7 @@ $(LIBNAME_DMAGICK): $(OBJECTS_DMAGICK)
$(RANLIB) $@
dmagick/c/magickVersion.d: dmagick/c/magickVersion.d.in
- sed 's/@MagickLibVersion@/$(subst .,,$(MAGICKVERSION))/g' $< > $@
- sed -i 's/@MagickLibVersionText@/$(MAGICKVERSION)/g' $@
- sed -i 's/@QuantumDepth@/$(subst Q,,$(QUANTUMDEPTH))/g' $@
- sed -i 's/@HDRI@/$(HDRI)/g' $@
+ sed 's/@MagickLibVersion@/$(subst .,,$(MAGICKVERSION))/g' $< | sed 's/@MagickLibVersionText@/$(MAGICKVERSION)/g' | sed 's/@QuantumDepth@/$(subst Q,,$(QUANTUMDEPTH))/g' | sed 's/@HDRI@/$(HDRI)/g' > $@
#######################################################################