mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
std-tools.mk: Standardized intermediate targets to .done
This commit is contained in:
parent
da3b5cd575
commit
f7c8baea99
1 changed files with 4 additions and 4 deletions
|
|
@ -4,7 +4,7 @@ PROFILE_SH = profile-$(PROJECT).sh
|
|||
|
||||
all: $(PROFILE_SH)
|
||||
clean: clean.std-tools
|
||||
install: $(PROFILE_SH) install.std-tools
|
||||
install: $(PROFILE_SH) install.std-tools.done
|
||||
distclean: clean
|
||||
|
||||
$(PROFILE_SH): Makefile
|
||||
|
|
@ -23,13 +23,13 @@ $(PROFILE_SH): Makefile
|
|||
mv $@.tmp $@
|
||||
|
||||
clean.std-tools:
|
||||
rm -f $(PROFILE_SH) *.std-tools
|
||||
rm -f $(PROFILE_SH) *.done
|
||||
|
||||
install.std-tools: install.std-dir
|
||||
install.std-tools.done: install.std-dir.done
|
||||
$(INSTALL) -o $(PROFILEOWNER) -g $(PROFILEGROUP) -m $(PROFILEMODE) $(PROFILE_SH) $(PROFILE_DIR)
|
||||
touch $@
|
||||
|
||||
install.std-dir:
|
||||
install.std-dir.done:
|
||||
mkdir -p $(PROFILE_DIR)
|
||||
touch $@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue