diff --git a/lib/.cvsignore b/lib/.cvsignore index d256a857..201cc977 100644 --- a/lib/.cvsignore +++ b/lib/.cvsignore @@ -6,3 +6,4 @@ libgtop.la *.lo lib.c structures.h +sysdeps-init.c diff --git a/lib/Makefile.am b/lib/Makefile.am index fd94f810..e09b2cf3 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -30,7 +30,8 @@ structures.h: structures.pl $(top_builddir)/config.h \ mv tmp-s structures.h sysdeps-init.c: - @LN_S@ @sysdeps_init_file@ sysdeps-init.c + rm -f sysdeps-init.c + cp $(srcdir)/@sysdeps_init_file@ sysdeps-init.c CLEANFILES = $(BUILT_SOURCES)