File: Makefile.in

package info (click to toggle)
xdg-utils 1.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,508 kB
  • sloc: sh: 7,900; xml: 3,213; perl: 274; makefile: 201; awk: 41
file content (41 lines) | stat: -rw-r--r-- 905 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
SUBDIRS = scripts tests autotests

all:		$(SUBDIRS)
install:	$(SUBDIRS:%=%/__install__)
uninstall:	$(SUBDIRS:%=%/__uninstall__)
test:		dummy
	cd tests && $(MAKE) test
autotest:
	cd autotests && $(MAKE) test
clean:		$(SUBDIRS:%=%/__clean__)
distclean:	clean $(SUBDIRS:%=%/__distclean__)
	rm -f config.* Makefile
	rm -rf autom4te.cache

release:	$(SUBDIRS:%=%/__release__)
	rm -f *~

help:	
	@echo "Usage: make [install|uninstall|release]"

.PHONY: all install uninstall clean distclean dummy autotest
dummy:

$(SUBDIRS): dummy
	@cd $@ && $(MAKE)

$(SUBDIRS:%=%/__uninstall__): dummy
	cd `dirname $@` && $(MAKE) uninstall

$(SUBDIRS:%=%/__install__): dummy
	cd `dirname $@` && $(MAKE) install

$(SUBDIRS:%=%/__clean__): dummy
	cd `dirname $@` && $(MAKE) clean

$(SUBDIRS:%=%/__release__): dummy
	cd `dirname $@` && $(MAKE) release

$(SUBDIRS:%=%/__distclean__): dummy
	cd `dirname $@` && $(MAKE) distclean