Joey Hess
c4229be9a7
Remove unnecessary rpaths in the git-annex binary, but only when it's built using make, not cabal. This speeds up git-annex statup time by around 50%.
2016-07-06 14:40:18 -04:00
Joey Hess
c8dd196234
fix man page building
2016-06-02 16:54:58 -04:00
Joey Hess
f4489cc415
Remove Makefile from cabal tarball; man page building is now handled by a small haskell program.
...
This actually runs faster than building the man pages from the makefile
did. But the main purpose is to let Setup.hs import Build.Mans and so not
need the makefile.
2016-05-31 13:58:13 -04:00
Joey Hess
f79875ef3b
Updated cabal file explictly lists source files.
...
The tarball on hackage will include only the files needed for cabal install;
it is NOT the full git-annex source tree. While it's totally obnoxious that
cabal files need every file listed out when basic wildcard support could
avoid hundreds of lines, and have to be maintained when files are added,
this does get the tarball size back down to 1 mb.
This also stops stack from complaining that it found modules not listed in
the cabal file.
debian/changelog, debian/NEWS, debian/copyright: Converted to symlinks
to CHANGELOG, NEWS, and COPYRIGHT, which used to symlink to these instead.
This avoids needing to include debian/ in the hackage tarball.
Setup.hs: Build man pages at install time using make and mdwn2man.
If it fails, which it probably will on windows, just skip installing
them.
2016-05-24 01:28:07 -04:00
Joey Hess
404ad86ef9
allow linuxstandalone to be used with stack built binary
2016-03-05 16:57:37 -04:00
Joey Hess
3a6039c287
typo
2016-02-26 12:21:20 -04:00
Joey Hess
471a211d21
Include magic database in the linux and OSX standalone builds.
2016-02-26 11:54:15 -04:00
Joey Hess
46297817c6
add back caballog target
...
used by ghci wrapper script
2016-02-15 16:01:31 -04:00
Joey Hess
7aab9a0b23
fix make fast to link executable again
...
Use second ghc pass, not first.
2016-02-15 00:57:55 -04:00
Joey Hess
246d0d45d7
move -j1 setting to BUILDEROPTIONS, set in debian/rules file
...
I needed BUILDEROPTIONS to allow passing flags to stack build, but it also
lets me move the -j1 out of the normal build path, and to debian/rules
which has the goal of having a reproducible build
2016-02-05 13:56:27 -04:00
Joey Hess
acac554aa9
avoid running BUILDER clean when it's cabal
...
This alows debian/rules clean to work when build deps are not installed.
2016-01-22 11:53:14 -04:00
Joey Hess
a2e399a4c0
respond, close bad bug
2016-01-20 14:42:07 -04:00
Joey Hess
fb3d5bfedd
avoid tab warnings
2016-01-14 15:55:00 -04:00
Joey Hess
b03887a7bc
defer find to after build
2015-12-28 17:14:29 -04:00
Joey Hess
3c32b67303
improve binary finding
2015-12-28 16:45:33 -04:00
Joey Hess
441573a92b
support building with BUILDER=stack to use stack instead of cabal
2015-12-28 14:18:47 -04:00
Joey Hess
9f7e4ed811
Build with -j1 again to get reproducible build.
...
This was in the cabal file earlier, and was removed because it broke the
android cross build. Moving to the git-annex target of the Makefile
will make it be used for Debian packages etc but not android cross builds
or make fast or when users build with cabal.
2015-11-16 16:51:24 -04:00
Joey Hess
361d31fde7
Make git-annex-standalone.deb include the git-annex html documentation, desktop file, and base completion file, same as the regular git-annex.deb.
...
It already had a doc-base file relating to the html documentation, and
there's no reason not to include the other stuff.
2015-11-10 13:21:05 -04:00
Joey Hess
d9d87fdbc9
Make the git-annex-standalone.deb prevent runshell from installing wrappers into $HOME/.ssh
2015-11-10 12:53:46 -04:00
Joey Hess
18c57daf2e
speed up fast builds
...
Enabling -dynamic avoids writing out many mb of static libs.
-j parallelizes
2015-08-27 09:31:41 -07:00
Joey Hess
fb8fec2a7b
exclude thanks page to avoid lintian error about embedded gif
2015-08-19 14:12:22 -04:00
Joey Hess
485465107a
Makefile: Pass LDFLAGS, CFLAGS, and CPPFLAGS through ghc and on to ld, cc, and cpp.
...
As a result of the Makefile changes, the Debian package is built
with various hardening options. Although their benefit to a largely
haskell program is unknown.
2015-08-19 13:53:57 -04:00
Joey Hess
8b22e1df9c
last changes to fix android build
2015-08-02 23:02:53 -04:00
Joey Hess
a2409bc644
cleanup makefile
2015-07-23 12:51:27 -04:00
Joey Hess
386b8c394e
got bash completion working for "git annex" not just "git-annex"
...
This needs a patch to git to cause the git-annex completion to be
auto-loaded when completing "git annex <tab>". Otherwise, it will only
load when "git-annex" is tab completed. Once loaded, it works for both
uses. I've submitted the git patch to the git mailing list.
2015-07-16 13:32:23 -04:00
Joey Hess
02d522a12e
Debian package (and any other packages built using make install) now includes bash completion.
2015-07-13 12:26:06 -04:00
Joey Hess
797c8970d3
remove obsolete packages from android splice depends hack list
2015-07-03 12:48:08 -04:00
Joey Hess
d2aad2b212
@echo doesn't work in variabe def
2015-06-17 14:06:54 -04:00
Joey Hess
0e8f23fa06
set LC_ALL in ikiwiki build to ensure deterministic build in other locales
...
smcv suggeted using C.UTF-8, but I want this to work beyond Debian, so went
with C, which seems to work ok.
2015-06-14 10:51:48 -04:00
Joey Hess
bb7ccaa64e
add commit-standalone target to refresh quilt patch
2015-06-10 13:57:04 -04:00
Joey Hess
f8affe7d6b
some changed deps for android build
2015-06-10 13:48:00 -04:00
Joey Hess
e0c2bcdc74
Build documentation with deterministic=1 for reproducible builds. (A new ikiwiki feature.) Closes : #785736
2015-06-09 17:53:55 -04:00
Joey Hess
8976e4755c
fast build mode no longer links exe with recent cabal
...
I tried removing the --no-link, but then the link fails. Which must be why
cabal is using it.
2015-06-09 14:00:51 -04:00
Joey Hess
9009c4386a
more -fno-warn-tabs
2015-05-31 21:18:52 -04:00
Joey Hess
e8e444c4e4
remove targets no longer needed since TH works on arm
2015-05-31 16:49:25 -04:00
Joey Hess
b97e9c1c2d
compress standalone tarball with gzip --rsyncable
...
This should cut down on transfer overhead; in particular the arm
autobuilder is on a slow pipe.
2015-05-31 16:36:50 -04:00
Joey Hess
610a9046ef
fix cabal file munging code to work with current cabal file
2015-05-22 14:55:48 -04:00
Joey Hess
5edd322a42
correct path for trustedkeys
2015-05-22 14:01:11 -04:00
Joey Hess
1b01322de0
OSX: Corrected the location of trustedkeys.gpg, so the built-in upgrade code will find it. Fixes OSX upgrade going forward, but older versions won't upgrade themselves due to this problem.
2015-05-22 13:41:47 -04:00
Joey Hess
8e40cb6f56
Build documentation with TZ=UTC for reproducible builds. See #785736 .
2015-05-19 15:45:21 -04:00
Joey Hess
a2fd8be337
adjust fast build so that ./ghci works with ghc 7.8.4
2015-05-14 14:47:53 -04:00
Yaroslav Halchenko
cb23224ba3
ENH: make debianstandalone{,-dsc} rules
...
Moved rules out of debian/rules and avoided need for patching it for
standalone builds
2015-05-11 11:50:59 -04:00
Joey Hess
e980c56f7f
apply same fix to sdist target
2015-03-27 18:01:29 -04:00
Joey Hess
6b89692008
Fix make build target. Thanks, Justin Geibel.
2015-03-27 18:00:32 -04:00
Joey Hess
22c9bbdcdf
use new mans target for install-mans, fixing OSX build
2015-03-27 13:09:56 -04:00
Joey Hess
bc1c18a951
move build man pages to man/ from top dir
2015-03-23 15:43:45 -04:00
Joey Hess
daec4b007a
splitting up the man page
...
Common command man pages all split out and often expanded.
A few sections split out into their own pages.
Still need to do all the other commands..
2015-03-23 15:36:10 -04:00
Joey Hess
5c2ad84d28
switch to pattern target to build mans
2015-03-23 12:24:20 -04:00
Joey Hess
408669a444
add unordered-containers
2015-02-22 17:46:34 -04:00
Joey Hess
802e210275
more headers
2015-02-22 17:26:16 -04:00