File: Makefile

package info (click to toggle)
rootskel-gtk 1.21
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 232 kB
  • ctags: 32
  • sloc: makefile: 105; sh: 87; perl: 50
file content (18 lines) | stat: -rw-r--r-- 365 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
subdirs = \
	src \

build: build-recursive

install:
	@$(MAKE) install -C src DESTDIR=$(CURDIR)/debian/rootskel-gtk/

clean: clean-recursive

build-recursive clean-recursive:
	@target=`echo $@ | sed s/-recursive//`; \
	list='$(subdirs)'; \
	for subdir in $$list; do \
	  echo "Making install in $$subdir"; \
	  (cd $$subdir && $(MAKE) $$target) || exit 1; \
	done