Skip to content

Commit

Permalink
dist-build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
idgay committed Jun 17, 2008
1 parent 591c889 commit 98cf2cb
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .cvsignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
configure
config.status
config.status*
config.log
autom4te.cache
aclocal.m4
Expand Down
18 changes: 17 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,27 @@ AUTOMAKE_OPTIONS = foreign

SUBDIRS = libcpp libiberty src doc tools

# gcc directories aren't automake-friendly
DIST_SUBDIRS = src doc tools
gcc_SUBDIRS = include libcpp libiberty

src: libcpp libiberty

EXTRA_DIST = \
COPYING \
COPYRIGHT \
INSTALL \
INTEL-LICENSE \
README
README \
config-aux/acx.m4 \
config-aux/codeset.m4 \
config-aux/gettext-sister.m4 \
config-aux/move-if-change \
config-aux/no-executables.m4 \
config-aux/warnings.m4

dist-hook:
for i in $(gcc_SUBDIRS); do \
(cd $$i; make distclean); \
tar cf - -X $$i/.distignore $$i | tar xf - -C $(distdir); \
done
1 change: 1 addition & 0 deletions doc/.cvsignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ ref.bbl
ref.blg
ref.dvi
ref.log
ref.out
4 changes: 4 additions & 0 deletions include/.distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CVS
.cvsignore
.distignore
*~
2 changes: 1 addition & 1 deletion libcpp/.cvsignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.deps
Makefile
config.status
config.status*
configure
config.in
config.log
Expand Down
5 changes: 5 additions & 0 deletions libcpp/.distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CVS
.cvsignore
.distignore
.deps
*~
3 changes: 2 additions & 1 deletion libiberty/.cvsignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.deps
Makefile
config.status
config.status*
configure
configure.lineno
config.in
config.log
stamp-h1
Expand Down
7 changes: 7 additions & 0 deletions libiberty/.distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CVS
.cvsignore
.distignore
.deps
autom4te.cache
temp-frag
*~
2 changes: 1 addition & 1 deletion nregress/misc/intf1/test.nc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ MOTOR_OFF = 0
* Init.
* @return Always returns SUCCESS.
*/
command result_t init();
command void init();

}

3 changes: 2 additions & 1 deletion src/.cvsignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ config.cache
autoconf.h
autoconf.h.in
config.log
config.status
config.status*
config-aux
configure
parser
Expand All @@ -39,3 +39,4 @@ stamp-h.in
nesc1
autom4te.cache
stamp-h1
.gdb_history
1 change: 1 addition & 0 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ libparser_a_SOURCES = \
expr.h \
flags.c \
flags.h \
gcc-cpp.h \
graph.c \
graph.h \
init.c \
Expand Down

0 comments on commit 98cf2cb

Please sign in to comment.