Permalink
Browse files

Makefile: 'dist' and 'dists' now copy dist/ into the tarball

  • Loading branch information...
1 parent 88d9246 commit 2027a5be078cafeab7ab7d2abfff48ea29e25db3 ec429 committed Jul 13, 2012
Showing with 11 additions and 4 deletions.
  1. +2 −0 Makefile
  2. +9 −4 README
View
@@ -123,6 +123,7 @@ version.h: FORCE
dist: all doc
-mkdir quirc_$(VERSION)
for p in $$(ls); do cp $$p quirc_$(VERSION)/$$p; done;
+ cp -r dist quirc_$(VERSION)/dist
-rm quirc_$(VERSION)/*.tar.gz
mv quirc_$(VERSION)/distMakefile quirc_$(VERSION)/Makefile
tar -czf quirc_$(VERSION).tar.gz quirc_$(VERSION)/
@@ -131,6 +132,7 @@ dist: all doc
dists: c_init.c config.c config.h version.h keymod.h keymap.c doc
-mkdir quirc_$(VERSION)_src
for p in $$(ls); do cp $$p quirc_$(VERSION)_src/$$p; done;
+ cp -r dist quirc_$(VERSION)_src/dist
-rm quirc_$(VERSION)_src/*.tar.gz
rm quirc_$(VERSION)_src/*.o
rm quirc_$(VERSION)_src/quirc
View
13 README
@@ -339,9 +339,14 @@ turns yellow.
sequences, but rather some other set of sequences. See the section
"Keymapping", above.
I can't build it! My libc doesn't support getaddrinfo_a()!
- You need to disable ASYNCH_NL; add the following lines to config.mak
- (which you should create if not present):
- OPTFLAGS += -DASYNCH_NL=0
- LIBS_ASYNCH_NL :=
+ You need to disable ASYNCH_NL; cp dist/config.mak . (unless you already
+ have a config.mak) and then uncomment the relevant lines.
This should disable asynchronous name lookups, instead using code which
will block while performing the DNS lookup.
+ I can't build it! My compiler complains about %jd and intmax_t!
+ This is a known bug in some compiler/libc combinations; to work around it
+ you need to define INTMAX_BUG to 1. cp dist/config.mak . (unless you
+ already have a config.mak) and then uncomment the relevant lines.
+ This should work around the bug by using %lld and (long long int) instead
+ of %jd and (intmax_t). Since what we're actually printing is a time_t,
+ this ought to work.

0 comments on commit 2027a5b

Please sign in to comment.