-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
71 lines (57 loc) · 3.13 KB
/
Makefile.in
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
LISP=@LISP_PROGRAM@
clisp_BUILDOPTS=-K base -on-error exit < ./make-image.lisp
sbcl_BUILDOPTS=--load ./make-image.lisp
ccl_BUILDOPTS=--load ./make-image.lisp
ecl_BUILDOPTS=-shell ./make-image.lisp
lw_BUILDOPTS=-build ./make-image.lisp
clisp_INFOOPTS=-K base -on-error exit -x "(load (compile-file \"load-thesiswm.lisp\")) (load (compile-file \"manual.lisp\")) (thesiswm::generate-manual) (ext:exit)"
sbcl_INFOOPTS=--eval "(progn (load \"load-thesiswm.lisp\") (load \"manual.lisp\"))" --eval "(progn (thesiswm::generate-manual) (sb-ext:quit))"
ccl_INFOOPTS=--eval "(load \"load-thesiswm.lisp\")" --load manual.lisp --eval "(progn (thesiswm::generate-manual) (quit))"
ecl_INFOOPTS=-eval "(progn (load \"load-thesiswm.lisp\") (load \"manual.lisp\"))" -eval "(progn (thesiswm::generate-manual) (ext:quit))"
lw_INFOOPTS=-eval "(progn (load \"load-thesiswm.lisp\") (load \"manual.lisp\"))" -eval "(progn (thesiswm::generate-manual) (lw:quit))"
datarootdir = @datarootdir@
prefix=@prefix@
exec_prefix= @exec_prefix@
bindir=@bindir@
infodir=@infodir@
# You shouldn't have to edit past this
FILES=thesiswm.asd $(shell grep -o ":file \".*\"" thesiswm.asd | sed 's,:file ",,g' | sed 's,",.lisp,g' )
all: thesiswm thesiswm.info
travis: thesiswm
thesiswm.info: thesiswm.texi
makeinfo thesiswm.texi
# FIXME: This rule is too hardcoded
thesiswm.texi: thesiswm.texi.in
$(LISP) $(@LISP@_INFOOPTS)
thesiswm: $(FILES)
$(LISP) $(@LISP@_BUILDOPTS)
release:
git tag -a -m "version @PACKAGE_VERSION@" @PACKAGE_VERSION@
git archive --format=tar --prefix=thesiswm-@PACKAGE_VERSION@/ HEAD > thesiswm-@[email protected]
tar xf thesiswm-@[email protected]
cd thesiswm-@PACKAGE_VERSION@ && tar zxf @PPCRE_PATH@/../cl-ppcre.tar.gz && mv cl-ppcre-* cl-ppcre
git log > thesiswm-@PACKAGE_VERSION@/ChangeLog
cp configure thesiswm-@PACKAGE_VERSION@/
tar zcf thesiswm-@[email protected] thesiswm-@PACKAGE_VERSION@
rm -fr thesiswm-@PACKAGE_VERSION@/ thesiswm-@[email protected]
upload-release:
gpg -b thesiswm-@[email protected]
( echo rm thesiswm-latest.tgz.sig && echo rm thesiswm-latest.tgz && echo ln thesiswm-@[email protected] thesiswm-latest.tgz && echo ln thesiswm-@[email protected] thesiswm-latest.tgz.sig ) | sftp -b - [email protected]:/releases/thesiswm/
clean:
rm -f *.fasl *.fas *.lib *.*fsl
rm -f *.log *.fns *.fn *.aux *.cp *.ky *.log *.toc *.pg *.tp *.vr *.vrs
rm -f thesiswm thesiswm.texi thesiswm.info
install: thesiswm.info thesiswm
test -z "$(destdir)$(bindir)" || mkdir -p "$(destdir)$(bindir)"
install -m 755 thesiswm "$(destdir)$(bindir)"
test -z "$(destdir)$(infodir)" || mkdir -p "$(destdir)$(infodir)"
install -m 644 thesiswm.info "$(destdir)$(infodir)"
install-info --info-dir="$(destdir)$(infodir)" "$(destdir)$(infodir)/thesiswm.info"
install-modules:
git clone https://github.com/thesiswm/thesiswm-contrib.git ~/.thesiswm.d/modules
uninstall:
rm "$(destdir)$(bindir)/thesiswm"
install-info --info-dir="$(destdir)$(infodir)" --remove "$(destdir)$(infodir)/thesiswm.info"
rm "$(destdir)$(infodir)/thesiswm.info"
# End of file