]> git.pld-linux.org Git - packages/audit.git/blob - golang-paths.patch
- updated to 2.4.1
[packages/audit.git] / golang-paths.patch
1 --- audit-2.4/bindings/golang/Makefile.am~      2014-08-24 18:39:23.000000000 +0200
2 +++ audit-2.4/bindings/golang/Makefile.am       2014-10-23 07:36:39.764147566 +0200
3 @@ -23,16 +23,15 @@
4  CONFIG_CLEAN_FILES = *.loT *.rej *.orig
5  EXTRA_DIST = audit.go
6  
7 -LIBDIR = lib
8 -GODIR = $(LIBDIR)/golang/src/pkg/redhat.com/audit
9 +GODIR = ${libdir}/golang/src/pkg/redhat.com/audit
10  dist_check_SCRIPTS = test.go
11  
12  install:
13 -       [ -d $(DESTDIR)${prefix}/$(GODIR) ] || mkdir -p $(DESTDIR)${prefix}/$(GODIR)
14 -       install -m 644 ${top_srcdir}/bindings/golang/audit.go $(DESTDIR)${prefix}/$(GODIR)
15 +       [ -d $(DESTDIR)/$(GODIR) ] || mkdir -p $(DESTDIR)/$(GODIR)
16 +       install -m 644 ${top_srcdir}/bindings/golang/audit.go $(DESTDIR)/$(GODIR)
17  
18  uninstall:
19 -       @rm -f $(DESTDIR)${prefix}/$(GODIR)/*
20 +       @rm -f $(DESTDIR)/$(GODIR)/*
21  
22  check:
23         @mkdir audit
This page took 0.072724 seconds and 3 git commands to generate.