diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-03 20:27:46 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-04 10:50:07 +0100 |
commit | 2cfca78091722d6b1884c6a2d4be73c6c233c1fa (patch) | |
tree | 1eebfaa68c36f1e8eaef57166b414e064699e059 /rules/xorg-app-xeyes.make | |
parent | 5b88d4c95f0054d61d0acc41a7c520afd73350b9 (diff) | |
download | ptxdist-2cfca78091722d6b1884c6a2d4be73c6c233c1fa.tar.gz ptxdist-2cfca78091722d6b1884c6a2d4be73c6c233c1fa.tar.xz |
[xorg-app-xeyes] cleanup makefile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/xorg-app-xeyes.make')
-rw-r--r-- | rules/xorg-app-xeyes.make | 66 |
1 files changed, 7 insertions, 59 deletions
diff --git a/rules/xorg-app-xeyes.make b/rules/xorg-app-xeyes.make index 2812de929..1f3aa5470 100644 --- a/rules/xorg-app-xeyes.make +++ b/rules/xorg-app-xeyes.make @@ -29,35 +29,14 @@ XORG_APP_XEYES_DIR := $(BUILDDIR)/$(XORG_APP_XEYES) # Get # ---------------------------------------------------------------------------- -xorg-app-xeyes_get: $(STATEDIR)/xorg-app-xeyes.get - -$(STATEDIR)/xorg-app-xeyes.get: $(xorg-app-xeyes_get_deps_default) - @$(call targetinfo, $@) - @$(call touch, $@) - $(XORG_APP_XEYES_SOURCE): - @$(call targetinfo, $@) + @$(call targetinfo) @$(call get, XORG_APP_XEYES) # ---------------------------------------------------------------------------- -# Extract -# ---------------------------------------------------------------------------- - -xorg-app-xeyes_extract: $(STATEDIR)/xorg-app-xeyes.extract - -$(STATEDIR)/xorg-app-xeyes.extract: $(xorg-app-xeyes_extract_deps_default) - @$(call targetinfo, $@) - @$(call clean, $(XORG_APP_XEYES_DIR)) - @$(call extract, XORG_APP_XEYES) - @$(call patchin, XORG_APP_XEYES) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -xorg-app-xeyes_prepare: $(STATEDIR)/xorg-app-xeyes.prepare - XORG_APP_XEYES_PATH := PATH=$(CROSS_PATH) XORG_APP_XEYES_ENV := $(CROSS_ENV) @@ -68,59 +47,28 @@ XORG_APP_XEYES_AUTOCONF := $(CROSS_AUTOCONF_USR) \ --disable-dependency-tracking \ --datadir=$(PTXCONF_XORG_DEFAULT_DATA_DIR) -$(STATEDIR)/xorg-app-xeyes.prepare: $(xorg-app-xeyes_prepare_deps_default) - @$(call targetinfo, $@) - @$(call clean, $(XORG_APP_XEYES_DIR)/config.cache) - cd $(XORG_APP_XEYES_DIR) && \ - $(XORG_APP_XEYES_PATH) $(XORG_APP_XEYES_ENV) \ - ./configure $(XORG_APP_XEYES_AUTOCONF) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Compile -# ---------------------------------------------------------------------------- - -xorg-app-xeyes_compile: $(STATEDIR)/xorg-app-xeyes.compile - -$(STATEDIR)/xorg-app-xeyes.compile: $(xorg-app-xeyes_compile_deps_default) - @$(call targetinfo, $@) - cd $(XORG_APP_XEYES_DIR) && $(XORG_APP_XEYES_PATH) make - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Install -# ---------------------------------------------------------------------------- - -xorg-app-xeyes_install: $(STATEDIR)/xorg-app-xeyes.install - -$(STATEDIR)/xorg-app-xeyes.install: $(xorg-app-xeyes_install_deps_default) - @$(call targetinfo, $@) - @$(call install, XORG_APP_XEYES) - @$(call touch, $@) - # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- -xorg-app-xeyes_targetinstall: $(STATEDIR)/xorg-app-xeyes.targetinstall - -$(STATEDIR)/xorg-app-xeyes.targetinstall: $(xorg-app-xeyes_targetinstall_deps_default) - @$(call targetinfo, $@) +$(STATEDIR)/xorg-app-xeyes.targetinstall: + @$(call targetinfo) @$(call install_init, xorg-app-xeyes) @$(call install_fixup, xorg-app-xeyes,PACKAGE,xorg-app-xeyes) @$(call install_fixup, xorg-app-xeyes,PRIORITY,optional) @$(call install_fixup, xorg-app-xeyes,VERSION,$(XORG_APP_XEYES_VERSION)) @$(call install_fixup, xorg-app-xeyes,SECTION,base) - @$(call install_fixup, xorg-app-xeyes,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>") + @$(call install_fixup, xorg-app-xeyes,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>") @$(call install_fixup, xorg-app-xeyes,DEPENDS,) @$(call install_fixup, xorg-app-xeyes,DESCRIPTION,missing) - @$(call install_copy, xorg-app-xeyes, 0, 0, 0755, $(XORG_APP_XEYES_DIR)/xeyes, $(XORG_PREFIX)/bin/xeyes) + @$(call install_copy, xorg-app-xeyes, 0, 0, 0755, -, \ + $(XORG_PREFIX)/bin/xeyes) @$(call install_finish, xorg-app-xeyes) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Clean |