age

Simple, secure encryption with UNIX-style composability.
git clone git://git.sgregoratto.me/age
Log | Files | Refs | README | LICENSE

Makefile (377B)


      1 PREFIX  = /usr/local
      2 BINDIR  = /usr/local/bin
      3 MANDIR  = /usr/local/man
      4 GOFLAGS = -trimpath -ldflags '-extldflags $(LDFLAGS)'
      5 
      6 all: age test
      7 
      8 age:
      9 	go build $(GOFLAGS) -o $@ ./cmd/age
     10 
     11 test:
     12 	go test ./...
     13 
     14 install: age
     15 	mkdir -p $(DESTDIR)/$(BINDIR)
     16 	mkdir -p $(DESTDIR)/$(MANDIR)
     17 	install -m 0555 age $(DESTDIR)/$(BINDIR)/age
     18 	install -m 0444 age.1 $(DESTDIR)/$(MANDIR)/age.1