Diff

Differences From Artifact [d4f93cadc6]:

To Artifact [1dfba37223]:


9
10
11
12
13
14
15
16




17
18
19
20
21
22
23
24
25
26
27
28



29

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







-
+
+
+
+












+
+
+
-
+
mandir = $(prefix)/share/man

all: filed

filed: filed.o
	$(CC) $(CFLAGS) $(LDFLAGS) -o "$@" $^ $(LIBS)

filed.o: filed.c
filed.o: filed.c filed-mime-types.h

filed-mime-types.h: generate-mime-types
	./generate-mime-types > filed-mime-types.h

install: filed filed.1
	test -d "$(DESTDIR)$(mandir)/man1" || mkdir -p "$(DESTDIR)$(mandir)/man1"
	test -d "$(DESTDIR)$(bindir)" || mkdir -p "$(DESTDIR)$(bindir)"
	cp filed.1 "$(DESTDIR)$(mandir)/man1/"
	cp filed "$(DESTDIR)$(bindir)/"

clean:
	rm -f filed filed.o

distclean: clean

mrproper: distclean
	rm -f filed-mime-types.h

.PHONY: all install clean distclean
.PHONY: all install clean distclean mrproper