20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
filed-mime-types.h: $(srcdir)/generate-mime-types $(srcdir)/mime.types
'$(srcdir)/generate-mime-types' '$(MIMETYPES)' > filed-mime-types.h.new || \
'$(srcdir)/generate-mime-types' '$(srcdir)/mime.types' > filed-mime-types.h.new
mv filed-mime-types.h.new filed-mime-types.h
filed.seccomp.h: $(srcdir)/filed.seccomp $(srcdir)/generate-seccomp-filter
$(srcdir)/generate-seccomp-filter filed.seccomp x86_64 "" i386 "" > filed.seccomp.h.new
mv filed.seccomp.h.new filed.seccomp.h
install: filed $(srcdir)/filed.1
test -d "$(DESTDIR)$(mandir)/man1" || mkdir -p "$(DESTDIR)$(mandir)/man1"
test -d "$(DESTDIR)$(bindir)" || mkdir -p "$(DESTDIR)$(bindir)"
cp '$(srcdir)/filed.1' "$(DESTDIR)$(mandir)/man1/"
cp filed "$(DESTDIR)$(bindir)/"
|
|
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
filed-mime-types.h: $(srcdir)/generate-mime-types $(srcdir)/mime.types
'$(srcdir)/generate-mime-types' '$(MIMETYPES)' > filed-mime-types.h.new || \
'$(srcdir)/generate-mime-types' '$(srcdir)/mime.types' > filed-mime-types.h.new
mv filed-mime-types.h.new filed-mime-types.h
filed.seccomp.h: $(srcdir)/filed.seccomp $(srcdir)/generate-seccomp-filter
$(srcdir)/generate-seccomp-filter $(srcdir)/filed.seccomp x86_64 "" i386 "" > filed.seccomp.h.new
mv filed.seccomp.h.new filed.seccomp.h
install: filed $(srcdir)/filed.1
test -d "$(DESTDIR)$(mandir)/man1" || mkdir -p "$(DESTDIR)$(mandir)/man1"
test -d "$(DESTDIR)$(bindir)" || mkdir -p "$(DESTDIR)$(bindir)"
cp '$(srcdir)/filed.1' "$(DESTDIR)$(mandir)/man1/"
cp filed "$(DESTDIR)$(bindir)/"
|