aboutsummaryrefslogtreecommitdiff
path: root/package/slackware/Makefile.in
blob: f4c698cd2c786cf5961f0b3e43890e63d937cc5f (plain)
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

BINDIR = @BINDIR@
MANDIR = @MANDIR@
SYSCONF = @SYSCONF@
VERSION = @VERSION@
ARCH = @ARCH@

PACKAGE_FILE = "jwm-$(VERSION)-slackware-$(ARCH).tgz"

all:
	mkdir -p "pkg/install"
	mkdir -p "pkg/$(BINDIR)"
	mkdir -p "pkg/$(MANDIR)/man1"
	mkdir -p "pkg/$(SYSCONF)"
	cp ../../src/jwm "pkg/$(BINDIR)"
	cp ../../jwm.1 "pkg/$(MANDIR)/man1"
	cp slackware.jwmrc "pkg/$(SYSCONF)/system.jwmrc"
	cp slack-desc pkg/install
	cd pkg ; tar -cf - * | gzip > ../$(PACKAGE_FILE) ; cd ..

clean:
	rm -f $(PACKAGE_FILE)
	rm -rf pkg

distclean:
	rm -f slack-desc Makefile