summaryrefslogtreecommitdiff
path: root/CREATE-MINI
diff options
context:
space:
mode:
Diffstat (limited to 'CREATE-MINI')
-rw-r--r--CREATE-MINI47
1 files changed, 47 insertions, 0 deletions
diff --git a/CREATE-MINI b/CREATE-MINI
new file mode 100644
index 00000000..281d4f4a
--- /dev/null
+++ b/CREATE-MINI
@@ -0,0 +1,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