diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-03-03 17:06:43 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-03-03 17:06:43 +0000 |
commit | b0dc86801752549ea3d5771e990abdd0aae2bc34 (patch) | |
tree | db35b3a655b5e4c6eb65a9fb85989cf23a1ecddf /rules/cvs.make | |
parent | ab86468b41e243234978f957ef1c891298805333 (diff) | |
download | ptxdist-b0dc86801752549ea3d5771e990abdd0aae2bc34.tar.gz ptxdist-b0dc86801752549ea3d5771e990abdd0aae2bc34.tar.xz |
[cvs] just cleanups
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9922 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/cvs.make')
-rw-r--r-- | rules/cvs.make | 72 |
1 files changed, 10 insertions, 62 deletions
diff --git a/rules/cvs.make b/rules/cvs.make index 945bbd6f2..25a594d3f 100644 --- a/rules/cvs.make +++ b/rules/cvs.make @@ -28,35 +28,14 @@ CVS_DIR := $(BUILDDIR)/$(CVS) # Get # ---------------------------------------------------------------------------- -cvs_get: $(STATEDIR)/cvs.get - -$(STATEDIR)/cvs.get: $(cvs_get_deps_default) - @$(call targetinfo, $@) - @$(call touch, $@) - $(CVS_SOURCE): - @$(call targetinfo, $@) + @$(call targetinfo) @$(call get, CVS) # ---------------------------------------------------------------------------- -# Extract -# ---------------------------------------------------------------------------- - -cvs_extract: $(STATEDIR)/cvs.extract - -$(STATEDIR)/cvs.extract: $(cvs_extract_deps_default) - @$(call targetinfo, $@) - @$(call clean, $(CVS_DIR)) - @$(call extract, CVS) - @$(call patchin, CVS) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -cvs_prepare: $(STATEDIR)/cvs.prepare - CVS_PATH := PATH=$(CROSS_PATH) CVS_ENV := $(CROSS_ENV) @@ -124,35 +103,6 @@ endif # --with-umask # --with-cvs-admin-group=GROUP # -$(STATEDIR)/cvs.prepare: $(cvs_prepare_deps_default) - @$(call targetinfo, $@) - @$(call clean, $(CVS_DIR)/config.cache) - cd $(CVS_DIR) && \ - $(CVS_PATH) $(CVS_ENV) \ - ./configure $(CVS_AUTOCONF) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Compile -# ---------------------------------------------------------------------------- - -cvs_compile: $(STATEDIR)/cvs.compile - -$(STATEDIR)/cvs.compile: $(cvs_compile_deps_default) - @$(call targetinfo, $@) - cd $(CVS_DIR) && $(CVS_PATH) $(MAKE) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Install -# ---------------------------------------------------------------------------- - -cvs_install: $(STATEDIR)/cvs.install - -$(STATEDIR)/cvs.install: $(cvs_install_deps_default) - @$(call targetinfo, $@) - @$(call install, CVS) - @$(call touch, $@) # ---------------------------------------------------------------------------- # Target-Install @@ -165,29 +115,27 @@ $(STATEDIR)/cvs.install: $(cvs_install_deps_default) CVS_CVSROOT_FILES := commitinfo cvsignore cvswrappers editinfo history loginfo \ modules rcsinfo taginfo -cvs_targetinstall: $(STATEDIR)/cvs.targetinstall - -$(STATEDIR)/cvs.targetinstall: $(cvs_targetinstall_deps_default) - @$(call targetinfo, $@) +$(STATEDIR)/cvs.targetinstall: + @$(call targetinfo) @$(call install_init, cvs) @$(call install_fixup,cvs,PACKAGE,cvs) @$(call install_fixup,cvs,PRIORITY,optional) @$(call install_fixup,cvs,VERSION,$(CVS_VERSION)) @$(call install_fixup,cvs,SECTION,base) - @$(call install_fixup,cvs,AUTHOR,"Juergen Beisert <j.beisert\@pengutronix.de>") + @$(call install_fixup,cvs,AUTHOR,"Juergen Beisert <j.beisert@pengutronix.de>") @$(call install_fixup,cvs,DEPENDS,) @$(call install_fixup,cvs,DESCRIPTION,missing) ifdef PTXCONF_CVS_INETD_SERVER @$(call install_alternative, cvs, 0, 0, 0755, /etc/inetd.conf.d/cvs, n) ifneq ($(PTXCONF_CVS_SERVER_REPOSITORY),"") - # add info about repository's root +# # add info about repository's root @$(call install_replace, cvs, /etc/inetd.conf.d/cvs, \ @ROOT@, \ "--allow-root=$(PTXCONF_CVS_SERVER_REPOSITORY)" ) else - # use cvs' default if not otherwise specified +# # use cvs' default if not otherwise specified @$(call install_replace, cvs, /etc/inetd.conf.d/cvs, \ @ROOT@, ) endif @@ -195,9 +143,9 @@ endif ifneq ($(call remove_quotes,$(PTXCONF_CVS_SERVER_REPOSITORY)),) @$(call install_copy, cvs, 0, 0, 0755, $(PTXCONF_CVS_SERVER_REPOSITORY)) - # - # install only existing files - # +# # +# # install only existing files +# # ifdef PTXCONF_CVS_SERVER_POPULATE_CVSROOT @$(call install_copy, cvs, 0, 0, 0750, \ $(PTXCONF_CVS_SERVER_REPOSITORY)/CVSROOT) @@ -224,7 +172,7 @@ endif @$(call install_finish,cvs) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Clean |