File: autotools

package info (click to toggle)
heimdal 0.6.3-10sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 26,284 kB
  • ctags: 42
  • sloc: sh: 335; makefile: 248; perl: 145
file content (31 lines) | stat: -rw-r--r-- 730 bytes parent folder | download
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
#!/bin/sh -e
# script to automate building of 030_autotools patch file

upstream_version=0.6.3

rm -f debian/patches/030_autotools
dbs-edit-patch 030_autotools

#fakeroot debian/rules clean
#debian/rules stampdir/patch
#cd build-tree
#cp -a heimdal-$upstream_version heimdal-$upstream_version-old

TMP_DIR="${TMP:-/tmp}"
cd $TMP_DIR/030_autotools/heimdal-$upstream_version

autoreconf
#aclocal -I cf
libtoolize -c -f
#autoconf
#autoheader
automake -a || true
# configure fails to call libtool properly - manually hack it so it works
# vim configure
#rm configure.bak
cd ..

#diff -ruN heimdal-$upstream_version-old heimdal-$upstream_version > ../debian/patches/030_autotools
#fakeroot debian/rules clean

sh -x ./dbs-update-patch