summaryrefslogtreecommitdiff
path: root/CREATE-MINI
blob: 281d4f4a2e9dab31aed4f3fd7111831b43cbb3ad (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
38
39
40
41
42
43
44
45
46
47
make dist

tar jxf elfutils-*.tar.bz2

cd elfutils-*

cp -a $srcdir/fake-src .

Change SUBDIRS in Makefile.am to only $(mini_SUBDIRS) plus fake-src
       Remove COPYING.GPL from EXTRA_DIST

Remove all AC_CONFIG_FILES lines in configure.ac accept
AC_CONFIG_FILES([config/Makefile])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([m4/Makefile])
AC_CONFIG_FILES([elfutils.spec:config/elfutils.spec.in])
AC_CONFIG_FILES([lib/Makefile])
AC_CONFIG_FILES([libelf/Makefile libelf-po/Makefile.in])

Add
AC_CONFIG_FILES([fake-src/Makefile])

Change lib/Makefile.am:
  libeu_a_SOURCES only next_prime.c crc32.c
  noinst_HEADERS only fixedsizehash.h system.h
  remove EXTRA_DIST
  remove xmalloc_no_Werror

mv COPYING.GPL COPYING

set gpl and fake at beginning of elfutils.spec.in to 1

automake

autoconf

mkdir build

cd build

../configure

make

make dist

rpmbuild -ta elfutils-*.tar.gz