Commit Graph

20 Commits

Author SHA1 Message Date
morganamilo
8b325ce704
Fixup Makefile
Remove ifndef: ?= can be used instead
Add package to .phony
2018-09-23 21:54:22 +01:00
morganamilo
81bccfd34e
Don't assume the go root
The go root might be in different places if the user is using
a different go binary that is not managed by the system (eg
/usr/local/bin/go). In this case the go binary should be smart enough to
default to it's own go root. Or if there are still problems, it is on
the user to configure it themselves.
2018-09-07 18:56:50 +01:00
Architekton
00f2cffc45
Remove redundant variable 2018-08-12 09:13:40 +10:00
Jguer
f8e84658c0
Major version update 2018-07-16 11:35:25 +01:00
Jguer
2e8d2b4d2c
Bump MAJOR_VERSION 2018-06-19 11:33:07 +01:00
Jguer
66362aa981 Bump MAJOR_VERSION
This bump reflects the big change introduced with using git cloning.
Therefore we know all versions pre-6 do not use git clone

Signed-off-by: Jguer <me@jguer.space>
2018-04-26 20:53:34 +01:00
morganamilo
67bd8cc9a2
Improve makefile
Created .go/src which symlinks to vendor/. Running `make` now builds
yay using the packages in vendor. This can still be overiden by running
`make GOPATH=$HOME/go`

Even though the makefile calls git to get the version, that can be
overiden using `make MAJORVERSION=5 MINORVERSION=400`, skipping the call to git. This
allows building yay/yay-bin using the makefile

The yay binary is now always yay instead of taking the name of the
parent directory.

Added vet and fmt checks to `make test` for more checking.

Reordered some stuff, made sure the dependency order is correct. Any
command such as `make package` can be ran at any point, even after a
`make clean` instead of having to execute the correct make commands in
order.

Changed install form using `go install` to a traditional install. The
pkgbuilds can now use `make DESTDIR=$PKGDIR install`. Added uninstall to match.

One thing this commit does not do is have proper recepies which depend
on files instead of phonies. The reason for this is that it does not
play that well with go's build system. Go is smart enough to only
recompile needed files anyway.
2018-03-23 05:36:19 +00:00
Jguer
82124c1b46 Update version for close release
Signed-off-by: Jguer <me@jguer.space>
2018-03-22 17:02:40 +01:00
Jguer
7f657bebe6 Update version number in makefile
Signed-off-by: Jguer <me@jguer.space>
2018-03-13 16:55:04 +00:00
Jguer
e800984e8f Release ready
Signed-off-by: Jguer <me@jguer.space>
2018-02-27 01:51:51 +00:00
Jguer
f612d89b49 fix Makefile and fix README 2018-02-17 18:27:36 +00:00
Jguer
808248b402 Fixes Versioning 2018-02-17 18:02:53 +00:00
Jguer
6305f86a3a
Minor polishing using gometalinter. 2017-12-04 15:24:20 +09:00
Jguer
2ea7510093 Changes to makefile 2017-07-04 18:54:03 +01:00
Jguer
44ca3f08ac Makefile changes 2017-04-10 02:03:07 +01:00
Jguer
9d58651ec1 Bash completion + Makefile 2016-12-02 21:21:27 +00:00
Jguer
721086c06a Changed makefile 2016-12-02 18:22:21 +00:00
Jguer
374691184f Bug fixing flags, -Qstats implementation 2016-10-05 17:04:16 +01:00
Jguer
6671cefef0 Road to AUR installs 2016-09-06 22:22:20 +01:00
Jguer
460ea31c76 Added Makefile 2016-09-05 03:32:57 +01:00