blob: bff3d33aebcd245eda438c1a4b34f1e07ddeb6ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
--- desktopfiles/Makefile.in.orig 2012-06-13 09:31:40.000000000 -0400
+++ desktopfiles/Makefile.in 2012-06-13 09:34:37.000000000 -0400
@@ -30,6 +30,7 @@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
CONVERT = @CONVERT@
INKSCAPE = @INKSCAPE@
@@ -53,15 +54,10 @@
icons: ${PNGICONS} hi-djvu.svgz
${PNGICONS}: djvu.svg
- s=`echo $@ | sed -e 's/[a-z]*\([0-9]*\).*/\1/'`; \
- ${RSVG} -w $${s} -h $${s} -o $@ $< \
- || ${CONVERT} -geometry $${s}x$${s} -depth 8 -background none $< $@ \
- || ${INKSCAPE} --without-gui --export-width=$${s} \
- --export-height=$${s} --export-png=$@ $< \
- || cp ${srcdir}/prebuilt-$@ $@
+ if test -f ${srcdir}/prebuilt-$@ ; then cp ${srcdir}/prebuilt-$@ $@ ; fi
hi-djvu.svgz: djvu.svg
- cat $< | gzip >$@
+ cat ${.ALLSRC} | gzip >$@
register-djvu-mime: register-djvu-mime.in
sed < ${srcdir}/register-djvu-mime.in > register-djvu-mime \
@@ -80,7 +76,7 @@
install-djvu-files: FORCE
${INSTALL} -d ${DESTDIR}${datadir_djvu}
- ${INSTALL_PROGRAM} register-djvu-mime ${DESTDIR}${datadir_djvu}
+ ${INSTALL_SCRIPT} register-djvu-mime ${DESTDIR}${datadir_djvu}
${INSTALL_DATA} *djvu.png ${DESTDIR}${datadir_djvu}
${INSTALL_DATA} *djvu.svgz ${DESTDIR}${datadir_djvu}
${INSTALL_DATA} ${srcdir}/*mime.xml ${DESTDIR}${datadir_djvu}
|