File: autoall

package info (click to toggle)
dcmtk 3.6.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 54,900 kB
  • sloc: cpp: 274,805; ansic: 47,345; makefile: 5,313; sh: 4,250; perl: 277; xml: 182; lex: 103
file content (29 lines) | stat: -rwxr-xr-x 1,546 bytes parent folder | download | duplicates (4)
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
# !/bin/sh

autoheader
autoconf
autoconf confmod.in > confmod

sed -e 's|^datadir=.*|datadir='\''${datarootdir}/dcmtk'\''|' \
    -e 's|^sysconfdir=.*|sysconfdir='\''${prefix}/etc/dcmtk'\''|' \
    -e 's|^docdir=.*|docdir='\''${datarootdir}/doc/dcmtk'\''|' \
    -e 's|^htmldir=.*|htmldir='\''${docdir}/html'\''|' \
    -e 's|^  --datadir=DIR.*|  --datadir=DIR           read-only arch.-independent data [DATAROOTDIR/dcmtk]|' \
    -e 's|^  --sysconfdir=DIR.*|  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc/dcmtk]|' \
    -e 's|^  --docdir=DIR.*|  --docdir=DIR            documentation root [DATAROOTDIR/doc/dcmtk]|' \
    -e 's|^  --htmldir=DIR.*|  --htmldir=DIR           html documentation [DOCDIR/html]|' \
    configure > configure.tmp
mv configure.tmp configure
chmod a+x configure

sed -e 's|^datadir=.*|datadir='\''${datarootdir}/dcmtk'\''|' \
    -e 's|^sysconfdir=.*|sysconfdir='\''${prefix}/etc/dcmtk'\''|' \
    -e 's|^docdir=.*|docdir='\''${datarootdir}/doc/dcmtk'\''|' \
    -e 's|^htmldir=.*|htmldir='\''${docdir}/html'\''|' \
    -e 's|^  --datadir=DIR.*|  --datadir=DIR           read-only arch.-independent data [DATAROOTDIR/dcmtk]|' \
    -e 's|^  --sysconfdir=DIR.*|  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc/dcmtk]|' \
    -e 's|^  --docdir=DIR.*|  --docdir=DIR            documentation root [DATAROOTDIR/doc/dcmtk]|' \
    -e 's|^  --htmldir=DIR.*|  --htmldir=DIR           html documentation [DOCDIR/html]|' \
    confmod > confmod.tmp
mv confmod.tmp confmod
chmod a+x confmod