Skip to content

Commit 1e17f55

Browse files
author
Pierre-Alexandre Meyer
committed
build: fix autotools build
Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
1 parent bd00f0b commit 1e17f55

File tree

4 files changed

+26
-18
lines changed

4 files changed

+26
-18
lines changed

.gitignore

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,22 @@ smile
33
a.out
44
*.c.out
55
*.o
6-
c/Makefile.in
7-
c/aclocal.m4
8-
c/autom4te.cache/
9-
c/autoscan.log
10-
c/compile
11-
c/config.h.in
12-
c/config.h.in~
13-
c/config.log
14-
c/configure
15-
c/depcomp
16-
c/install-sh
17-
c/missing
18-
c/src/.deps/
19-
c/stamp-h1
6+
Makefile.in
7+
aclocal.m4
8+
autom4te.cache/
9+
autoscan.log
10+
compile
11+
config.h.in
12+
config.h.in~
13+
config.log
14+
configure
15+
depcomp
16+
install-sh
17+
missing
18+
src/.deps/
19+
stamp-h1
20+
config.h
21+
config.status
22+
c/src/.dirstamp
23+
c/src/.deps
24+
Makefile

c/Makefile.am

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@ AUTOMAKE_OPTIONS = subdir-objects
22
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
33

44
bin_PROGRAMS = smile
5-
smile_SOURCES = src/smile.h src/smile.c
6-
7-
dist_noinst_SCRIPTS = autogen.sh
5+
smile_SOURCES = src/smile.h src/smile.c src/printer.h src/printer.c src/api.h

c/build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# To build from scratch
2+
make maintainer-clean
3+
autoreconf -visf -Wall &&
4+
./configure &&
5+
make

c/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ AC_INIT([libsmile], [0.1], [pierre@mouraf.org])
44
AM_INIT_AUTOMAKE([-Wall -Werror])
55
AC_LANG_WERROR
66

7-
AC_CONFIG_SRCDIR([config.h.in])
7+
AC_CONFIG_SRCDIR([src])
88
AC_CONFIG_HEADERS([config.h])
99

1010
# Checks for programs.

0 commit comments

Comments
 (0)