Diff

Differences From Artifact [a294b2122c]:

To Artifact [8247ae4962]:


    12     12   all: filed
    13     13   
    14     14   filed: filed.o
    15     15   	$(CC) $(CFLAGS) $(LDFLAGS) -o "$@" $^ $(LIBS)
    16     16   
    17     17   filed.o: filed.c filed-mime-types.h
    18     18   
    19         -filed-mime-types.h: generate-mime-types
    20         -	./generate-mime-types "$(MIMETYPES)" > filed-mime-types.h.new
           19  +filed-mime-types.h: generate-mime-types mime.types
           20  +	./generate-mime-types "$(MIMETYPES)" > filed-mime-types.h.new || \
           21  +		./generate-mime-types mime.types > filed-mime-types.h.new
    21     22   	mv filed-mime-types.h.new filed-mime-types.h
    22     23   
    23     24   install: filed filed.1
    24     25   	test -d "$(DESTDIR)$(mandir)/man1" || mkdir -p "$(DESTDIR)$(mandir)/man1"
    25     26   	test -d "$(DESTDIR)$(bindir)" || mkdir -p "$(DESTDIR)$(bindir)"
    26     27   	cp filed.1 "$(DESTDIR)$(mandir)/man1/"
    27     28   	cp filed "$(DESTDIR)$(bindir)/"