mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 09:13:37 +02:00
std-targets.mk: Add file
Add std-targets.mk, meant to be included mostly to make sure all mandatory targets are there. On clean and distclean, it also removes stuff that should not be there anymore after clean. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
bb44ee11c8
commit
494d5d29d6
2 changed files with 13 additions and 11 deletions
|
|
@ -1,13 +1,5 @@
|
|||
# generic utility modules
|
||||
# (c) 2001 jannet it services
|
||||
# contact@jannet.de
|
||||
# $Id$
|
||||
# This snippet is meant to be included from directory which should be visited
|
||||
# by jw-pkg, but which doesn't have anything special to do.
|
||||
|
||||
include $(JWBDIR)/make/defs.mk
|
||||
|
||||
all:
|
||||
clean:
|
||||
$(RM) -rf *~ .*.swp
|
||||
install: # nothing to be done
|
||||
all: # nothing to be done
|
||||
distclean: clean
|
||||
include $(JWBDIR)/make/std-targets.mk
|
||||
|
|
|
|||
10
make/std-targets.mk
Normal file
10
make/std-targets.mk
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# This file contains a set of targets which
|
||||
# 1. are conclusive (i.e. all mandatory targets)
|
||||
# 2. don't hurt
|
||||
|
||||
all:
|
||||
install:
|
||||
clean: clean.std-targets
|
||||
clean.std-targets:
|
||||
$(RM) -rf *~ .*.swp *.done
|
||||
distclean: clean
|
||||
Loading…
Add table
Add a link
Reference in a new issue