Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 33 lines (26 sloc) 0.929 kb
9f0cff1 Initial commit.
Sound and Fury authored
1 # Makefile for quIRC
2
4a2bd9b Fixed bugs in 'make dist'
Sound and Fury authored
3 VERSION := `git describe --tags`
9f0cff1 Initial commit.
Sound and Fury authored
4
999def1 @ec429 Makefile: de-duplicate the main body as between Makefile and distMakefil...
authored
5 include distMakefile
62617ff Configurable keymapping
ec429 authored
6
25bf8a0 Makefile fixes (because make behaves unhelpfully)
ec429 authored
7 FORCE:
8 version.h: FORCE
fcf9495 Refactored .quirc and cmdline parsing; other refactoring
Sound and Fury authored
9 ./gitversion
10
959f0a2 make dist also makes doc
Sound and Fury authored
11 dist: all doc
4a2bd9b Fixed bugs in 'make dist'
Sound and Fury authored
12 -mkdir quirc_$(VERSION)
13 for p in $$(ls); do cp $$p quirc_$(VERSION)/$$p; done;
2027a5b Makefile: 'dist' and 'dists' now copy dist/ into the tarball
ec429 authored
14 cp -r dist quirc_$(VERSION)/dist
66ea5eb Makefile rule to build a source tarball (and do funky things with versio...
Sound and Fury authored
15 -rm quirc_$(VERSION)/*.tar.gz
7fbe18a Makefile fixes (should fix gitlessing tarballs) & some plans
ec429 authored
16 mv quirc_$(VERSION)/distMakefile quirc_$(VERSION)/Makefile
811d1bd Makefile fixes
ec429 authored
17 tar -czf quirc_$(VERSION).tar.gz quirc_$(VERSION)/
062c4d0 dist Makefile rule, creates tarball with binaries
Sound and Fury authored
18 rm -r quirc_$(VERSION)
19
2171210 Make 'dists' dependencies more explicit
ec429 authored
20 dists: c_init.c config.c config.h version.h keymod.h keymap.c doc
172be1c @ec429 Makefile: dists: use suffix '.src.tar.gz' instead of '_src.tar.gz'
authored
21 -mkdir quirc_$(VERSION).src
22 for p in $$(ls); do cp $$p quirc_$(VERSION).src/$$p; done;
23 cp -r dist quirc_$(VERSION).src/dist
24 -rm quirc_$(VERSION).src/*.tar.gz
25 rm quirc_$(VERSION).src/*.o
26 rm quirc_$(VERSION).src/quirc
6c49be8 @ec429 Make dists: remove compiled gen* programs
authored
27 rm quirc_$(VERSION).src/genconfig
28 rm quirc_$(VERSION).src/genkeymap
172be1c @ec429 Makefile: dists: use suffix '.src.tar.gz' instead of '_src.tar.gz'
authored
29 mv quirc_$(VERSION).src/distMakefile quirc_$(VERSION).src/Makefile
30 tar -czf quirc_$(VERSION).src.tar.gz quirc_$(VERSION).src/
31 rm -r quirc_$(VERSION).src
66ea5eb Makefile rule to build a source tarball (and do funky things with versio...
Sound and Fury authored
32
Something went wrong with that request. Please try again.