-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathMakefile.am
45 lines (33 loc) · 1.31 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
libexec_PROGRAMS = oci-umount
oci_umount_SOURCES = src/oci-umount.c
oci_umount_DATA = oci-umount.conf
oci_umountdir=/etc
oci_umount_json_CONFIG = oci-umount-json
oci_umount_json_DATA = oci-umount.json
oci_umount_jsondir=/usr/share/containers/oci/hooks.d
oci_umount_options_DATA = oci-umount-options.conf
oci_umount_optionsdir=/usr/share/oci-umount/
oci_umount_CFLAGS = -Wall -Wextra -std=c99 $(YAJL_CFLAGS)
oci_umount_LDADD = $(YAJL_LIBS)
dist_man_MANS = oci-umount.1
dist_man_MANS += oci-umount.conf.5
dist_man_MANS += oci-umount-options.conf.5
EXTRA_DIST = README.md LICENSE
oci-umount.1: doc/oci-umount.1.md
go-md2man -in doc/oci-umount.1.md -out oci-umount.1
oci-umount.conf.5: doc/oci-umount.conf.5.md
go-md2man -in doc/oci-umount.conf.5.md -out oci-umount.conf.5
oci-umount-options.conf.5: doc/oci-umount-options.conf.5.md
go-md2man -in doc/oci-umount-options.conf.5.md -out oci-umount-options.conf.5
spec: oci-umount.spec
spectool -g oci-umount.spec
rpm: spec
rpmbuild --define "_sourcedir `pwd`" --define "_specdir `pwd`" \
--define "_rpmdir `pwd`" --define "_srcrpmdir `pwd`" -ba oci-umount.spec
install-data-local:
$(MKDIR_P) $(DESTDIR)/etc/containers/oci/hooks.d
$(MKDIR_P) $(DESTDIR)/usr/share/oci-umount/oci-umount.d
clean-local:
-rm -f oci-umount.1 *~
-rm -f oci-umount-*.tar.gz
-rm -f oci-sytemd-hook-*.rpm