# Automake source.
#
# Free exFAT implementation.
-# Copyright (C) 2011-2015 Andrew Nayenko
+# Copyright (C) 2011-2018 Andrew Nayenko
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
sbin_PROGRAMS = mkexfatfs
+dist_man8_MANS = mkexfatfs.8
mkexfatfs_SOURCES = \
cbm.c \
cbm.h \
vbr.h
mkexfatfs_CPPFLAGS = -I$(top_srcdir)/libexfat
mkexfatfs_LDADD = ../libexfat/libexfat.a
+
+install-exec-hook:
+ ln -sf $(sbin_PROGRAMS) $(DESTDIR)$(sbindir)/mkfs.exfat
+
+uninstall-hook:
+ rm -f $(DESTDIR)$(sbindir)/mkfs.exfat