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:
@@ -35,5 +35,6 @@ ${generated_sources}: ${top_srcdir}/demo/rpc_table.py
|
|||||||
@echo "[libsearpc]: done"
|
@echo "[libsearpc]: done"
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
-rm ${generated_sources}
|
rm -f ${generated_sources}
|
||||||
|
rm -f rpc_table.pyc
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@ enum_tmpl_h=$(glib_enum_h:.h=.h.in)
|
|||||||
enum_tmpl_c=$(glib_enum_c:.c=.c.in)
|
enum_tmpl_c=$(glib_enum_c:.c=.c.in)
|
||||||
|
|
||||||
CLEANFILES += stamp-enum-types
|
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)
|
BUILT_SOURCES += $(glib_enum_h) $(glib_enum_c)
|
||||||
EXTRA_DIST += $(srcdir)/$(enum_tmpl_h) $(srcdir)/$(enum_tmpl_c)
|
EXTRA_DIST += $(srcdir)/$(enum_tmpl_h) $(srcdir)/$(enum_tmpl_c)
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@ marshal_h = $(glib_marshal_list:.list=.h)
|
|||||||
marshal_c = $(glib_marshal_list:.list=.c)
|
marshal_c = $(glib_marshal_list:.list=.c)
|
||||||
|
|
||||||
CLEANFILES += stamp-marshal
|
CLEANFILES += stamp-marshal
|
||||||
DISTCLEANFILES += $(marshal_h) $(marshal_c)
|
#DISTCLEANFILES += $(marshal_h) $(marshal_c)
|
||||||
BUILT_SOURCES += $(marshal_h) $(marshal_c)
|
BUILT_SOURCES += $(marshal_h) $(marshal_c)
|
||||||
EXTRA_DIST += $(srcdir)/$(glib_marshal_list)
|
EXTRA_DIST += $(srcdir)/$(glib_marshal_list)
|
||||||
|
|
||||||
|
@@ -26,7 +26,7 @@ AM_CFLAGS = $(JSON_CFLAGS) $(MAINTAINER_CFLAGS) -fPIC
|
|||||||
BUILT_SOURCES =
|
BUILT_SOURCES =
|
||||||
|
|
||||||
CLEANFILES =
|
CLEANFILES =
|
||||||
DISTCLEANFILES = json-version.h
|
#DISTCLEANFILES = json-version.h
|
||||||
|
|
||||||
source_h = \
|
source_h = \
|
||||||
$(top_srcdir)/json-glib/json-builder.h \
|
$(top_srcdir)/json-glib/json-builder.h \
|
||||||
@@ -88,7 +88,7 @@ jsoninclude_DATA = \
|
|||||||
$(top_srcdir)/json-glib/json-glib.h \
|
$(top_srcdir)/json-glib/json-glib.h \
|
||||||
$(NULL)
|
$(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)"
|
TESTS_ENVIRONMENT = srcdir="$(srcdir)" json_all_c_sources="$(source_c)"
|
||||||
|
|
||||||
|
@@ -27,5 +27,6 @@ ${generated_sources}: $(top_srcdir)/tests/rpc_table.py
|
|||||||
@echo "[libsearpc]: done"
|
@echo "[libsearpc]: done"
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
-rm ${generated_sources}
|
rm -f ${generated_sources}
|
||||||
|
rm -f rpc_table.pyc
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user