1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-25 12:32:53 +00:00

improve "make clean"

This commit is contained in:
lins05
2013-02-04 19:46:48 +08:00
parent facf0f6cad
commit 8e908095d1
5 changed files with 8 additions and 6 deletions

View File

@@ -35,5 +35,6 @@ ${generated_sources}: ${top_srcdir}/demo/rpc_table.py
@echo "[libsearpc]: done"
clean-local:
-rm ${generated_sources}
rm -f ${generated_sources}
rm -f rpc_table.pyc

View File

@@ -19,7 +19,7 @@ enum_tmpl_h=$(glib_enum_h:.h=.h.in)
enum_tmpl_c=$(glib_enum_c:.c=.c.in)
CLEANFILES += stamp-enum-types
DISTCLEANFILES += $(glib_enum_h) $(glib_enum_c)
#DISTCLEANFILES += $(glib_enum_h) $(glib_enum_c)
BUILT_SOURCES += $(glib_enum_h) $(glib_enum_c)
EXTRA_DIST += $(srcdir)/$(enum_tmpl_h) $(srcdir)/$(enum_tmpl_c)

View File

@@ -18,7 +18,7 @@ marshal_h = $(glib_marshal_list:.list=.h)
marshal_c = $(glib_marshal_list:.list=.c)
CLEANFILES += stamp-marshal
DISTCLEANFILES += $(marshal_h) $(marshal_c)
#DISTCLEANFILES += $(marshal_h) $(marshal_c)
BUILT_SOURCES += $(marshal_h) $(marshal_c)
EXTRA_DIST += $(srcdir)/$(glib_marshal_list)

View File

@@ -26,7 +26,7 @@ AM_CFLAGS = $(JSON_CFLAGS) $(MAINTAINER_CFLAGS) -fPIC
BUILT_SOURCES =
CLEANFILES =
DISTCLEANFILES = json-version.h
#DISTCLEANFILES = json-version.h
source_h = \
$(top_srcdir)/json-glib/json-builder.h \
@@ -88,7 +88,7 @@ jsoninclude_DATA = \
$(top_srcdir)/json-glib/json-glib.h \
$(NULL)
EXTRA_DIST += json-version.h.in json-glib.h json-version.h
EXTRA_DIST += json-version.h.in json-glib.h
TESTS_ENVIRONMENT = srcdir="$(srcdir)" json_all_c_sources="$(source_c)"

View File

@@ -27,5 +27,6 @@ ${generated_sources}: $(top_srcdir)/tests/rpc_table.py
@echo "[libsearpc]: done"
clean-local:
-rm ${generated_sources}
rm -f ${generated_sources}
rm -f rpc_table.pyc