File: Makefile.in

package info (click to toggle)
jwm 1.5-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,212 kB
  • ctags: 1,758
  • sloc: ansic: 14,975; sh: 2,704; makefile: 183
file content (54 lines) | stat: -rw-r--r-- 1,233 bytes parent folder | download
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
42
43
44
45
46
47
48
49
50
51
52
53
54
PACKAGE = jwm
SYSCONF = $(DESTDIR)@SYSCONF@
MANDIR	= $(DESTDIR)@MANDIR@

VERSION = @VERSION@

all:
	$(MAKE) -C src all

install: all
	$(MAKE) -C src install
	install -d -m 0755 $(SYSCONF)
	install -m 0644 example.jwmrc $(SYSCONF)/jwmrc
	install -d -m 0755 $(MANDIR)/man1
	install -m 0644 jwm.1 $(MANDIR)/man1/jwm.1

depend:
	$(MAKE) -C src depend

tarball:
	rm -f ../jwm-$(VERSION).tar.bz2 ;
	rm -fr ../jwm-$(VERSION) ;
	cp -r ../jwm ../jwm-$(VERSION) ;
	(cd ../jwm-$(VERSION) && $(MAKE) distclean) ;
	(cd .. && tar -cf jwm-$(VERSION).tar jwm-$(VERSION));
	rm -fr ../jwm-$(VERSION) ;
	(cd .. && bzip2 jwm-$(VERSION).tar)

irix-package: all
	(cd package/irix && $(MAKE))

slackware-package: all
	(cd package/slackware && $(MAKE))

solaris-package: all
	(cd package/solaris && $(MAKE))

clean:
	(cd src && $(MAKE) clean)
	for x in package/* ; do \
		(cd $$x && $(MAKE) clean ) ; \
	done

distclean: clean
	rm -f *[~#] config.cache config.log config.status config.h
	rm -f Makefile src/Makefile jwm.tardist jwm.1
	rm -fr autom4te.cache
	rm -f Makefile.bak src/Makefile.bak ;
	rm -fr autom4te.cache ;
	rm -fr `find . \( -name .svn -o -name .gdb_history \) -print` ;
	for x in package/* ; do \
		(cd $$x && $(MAKE) distclean ) ; \
	done