Use top-level automake build + removed AUTHORS, INSTALL and NEWS
A more modern and practical structure.
Этот коммит содержится в:
родитель
ae659d5186
Коммит
10e560a9a6
2
AUTHORS
2
AUTHORS
@ -1,2 +0,0 @@
|
|||||||
ncdu is written by Yoran Heling <projects@yorhel.nl>
|
|
||||||
The khash library is written by Attractive Chaos <attractor@live.co.uk>.
|
|
5
INSTALL
5
INSTALL
@ -1,5 +0,0 @@
|
|||||||
The usual:
|
|
||||||
|
|
||||||
./configure --prefix=/usr
|
|
||||||
make
|
|
||||||
make install
|
|
35
Makefile.am
35
Makefile.am
@ -1 +1,34 @@
|
|||||||
SUBDIRS = src doc
|
bin_PROGRAMS=ncdu
|
||||||
|
|
||||||
|
ncdu_SOURCES=\
|
||||||
|
src/browser.c\
|
||||||
|
src/calc.c\
|
||||||
|
src/delete.c\
|
||||||
|
src/dirlist.c\
|
||||||
|
src/exclude.c\
|
||||||
|
src/help.c\
|
||||||
|
src/main.c\
|
||||||
|
src/path.c\
|
||||||
|
src/util.c
|
||||||
|
|
||||||
|
noinst_HEADERS=\
|
||||||
|
src/browser.h\
|
||||||
|
src/calc.h\
|
||||||
|
src/delete.h\
|
||||||
|
src/dirlist.h\
|
||||||
|
src/exclude.h\
|
||||||
|
src/global.h\
|
||||||
|
src/help.h\
|
||||||
|
src/khash.h\
|
||||||
|
src/path.h\
|
||||||
|
src/util.h
|
||||||
|
|
||||||
|
|
||||||
|
man_MANS=ncdu.1
|
||||||
|
EXTRA_DIST=ncdu.1 doc/ncdu.pod
|
||||||
|
|
||||||
|
# Don't "clean" ncdu.1, it should be in the tarball so that pod2man isn't a
|
||||||
|
# build dependency for those who use the tarball.
|
||||||
|
ncdu.1: $(srcdir)/doc/ncdu.pod Makefile
|
||||||
|
pod2man --center "ncdu manual" --release "@PACKAGE@-@VERSION@" "$(srcdir)/doc/ncdu.pod" >ncdu.1
|
||||||
|
|
||||||
|
1
NEWS
1
NEWS
@ -1 +0,0 @@
|
|||||||
ChangeLog
|
|
6
README
6
README
@ -25,6 +25,12 @@ INSTALL
|
|||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
If you're building directly from the git repository, make sure you have perl
|
||||||
|
(or rather, pod2man) and GNU autoconf/automake installed, then run
|
||||||
|
'autoreconf -i', and you're ready to continue with the usual ./configure and
|
||||||
|
make route.
|
||||||
|
|
||||||
|
|
||||||
COPYING
|
COPYING
|
||||||
|
|
||||||
Copyright (c) 2007-2012 Yoran Heling
|
Copyright (c) 2007-2012 Yoran Heling
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
# autogen.sh - creates configure scripts and more
|
|
||||||
# requires autoconf
|
|
||||||
|
|
||||||
aclocal
|
|
||||||
autoheader
|
|
||||||
automake -a
|
|
||||||
autoconf
|
|
@ -2,7 +2,7 @@
|
|||||||
AC_INIT(ncdu, 1.8g, projects@yorhel.nl)
|
AC_INIT(ncdu, 1.8g, projects@yorhel.nl)
|
||||||
AC_CONFIG_SRCDIR([src/global.h])
|
AC_CONFIG_SRCDIR([src/global.h])
|
||||||
AC_CONFIG_HEADER([config.h])
|
AC_CONFIG_HEADER([config.h])
|
||||||
AM_INIT_AUTOMAKE
|
AM_INIT_AUTOMAKE([foreign subdir-objects])
|
||||||
|
|
||||||
# Check for programs.
|
# Check for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
@ -47,7 +47,5 @@ AC_CHECK_LIB([$ncurses],
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
AC_OUTPUT([Makefile src/Makefile doc/Makefile])
|
AC_OUTPUT([Makefile])
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "Now type \"make\" and \"make install\" to build and install ncdu"
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
man_MANS = ncdu.1
|
|
||||||
EXTRA_DIST = ncdu.1 ncdu.pod
|
|
||||||
|
|
||||||
# Don't "clean" ncdu.1, it should be in the tarball so that pod2man isn't a
|
|
||||||
# build dependency for those who use the tarball.
|
|
||||||
ncdu.1: ncdu.pod Makefile
|
|
||||||
pod2man --center "ncdu manual" --release "@PACKAGE@-@VERSION@" ncdu.pod >ncdu.1
|
|
@ -1,5 +0,0 @@
|
|||||||
bin_PROGRAMS = ncdu
|
|
||||||
|
|
||||||
ncdu_SOURCES = browser.c calc.c delete.c dirlist.c exclude.c help.c main.c path.c util.c
|
|
||||||
|
|
||||||
noinst_HEADERS = browser.h calc.h delete.h dirlist.h exclude.h global.h help.h path.h util.h khash.h
|
|
Загрузка…
Ссылка в новой задаче
Block a user