mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
rules.mk: Remove some legacy comments from std_install_rules definition
This commit is contained in:
parent
5a10bf11d6
commit
15ab28f73d
1 changed files with 4 additions and 4 deletions
|
|
@ -308,9 +308,12 @@ $(INSTALL_SYSCFGDIR)/%: %.sysconf | $(INSTALL_SYSCFGDIR)
|
|||
|
||||
# --- special installation rules <
|
||||
|
||||
#build_dir_$(1): $$(TOPDIR)/dir_build_$(1).done
|
||||
# old prereq $$(TOPDIR)/dir_install_$(1).done
|
||||
#$$(BUILD_$(1)DIR)/%: % $$(TOPDIR)/dir_build_$(1).done check_not_empty_$(1)MODE
|
||||
|
||||
define std_install_rules
|
||||
|
||||
#build_dir_$(1): $$(TOPDIR)/dir_build_$(1).done
|
||||
build_$(1): $$(TOPDIR)/dir_build_$(1).done $$(BUILD_$(1))
|
||||
install_dir_$(1): $$(TOPDIR)/dir_install_$(1).done
|
||||
install_$(1): $$(TOPDIR)/dir_install_$(1).done $$(INSTALLED_$(1))
|
||||
|
|
@ -319,7 +322,6 @@ $$(TOPDIR)/dir_build_$(1).done:
|
|||
mkdir -p $$(BUILD_$(1)DIR)
|
||||
touch $$@
|
||||
|
||||
#$$(BUILD_$(1)DIR)/%: % $$(TOPDIR)/dir_build_$(1).done check_not_empty_$(1)MODE
|
||||
$$(BUILD_$(1)DIR)/%: % $$(TOPDIR)/dir_build_$(1).done
|
||||
@if [ ! $$< -ef $$@ -a "`echo $$< | sed 's/\..*//'`" != local ]; then \
|
||||
echo install -m $($(1)MODE) $$< $$@ ;\
|
||||
|
|
@ -337,8 +339,6 @@ $$(TOPDIR)/dir_install_$(1).done:
|
|||
$$(INSTALL_$(1)DIR):
|
||||
$$(INSTALL) -d -o $$($(1)DIROWNER) -g $$($(1)DIRGROUP) -m $$($(1)DIRMODE) $$@
|
||||
|
||||
# old prereq $$(TOPDIR)/dir_install_$(1).done
|
||||
|
||||
$$(INSTALL_$(1)DIR)/%: % | $$(INSTALL_$(1)DIR)
|
||||
$$(INSTALL) -o $$($(1)OWNER) -g $$($(1)GROUP) -m $$($(1)MODE) $$< $$@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue