gparted/Makefile.am

64 lines
1.6 KiB
Makefile
Raw Normal View History

### Do not execute make in the help subdirectory if DISABLE_DOC is set
if DISABLE_DOC
SUBDIRS = compose data doc include po src
else
SUBDIRS = help compose data doc include po src
endif
2004-09-20 15:38:21 -06:00
@INTLTOOL_DESKTOP_RULE@
DESKTOP_IN_IN_FILES = gparted.desktop.in.in
2004-09-20 15:38:21 -06:00
DESKTOP_IN_FILES = gparted.desktop.in
DESKTOP_FILES =$(DESKTOP_IN_FILES:.desktop.in=.desktop)
desktopdir = $(datadir)/applications
desktop_DATA = $(DESKTOP_FILES)
sbin_SCRIPTS = gparted
CLEANFILES = $(sbin_SCRIPTS) $(DESKTOP_IN_FILES)
do_subst = sed -e 's,[@]installdir[@],$(sbindir),g' \
-e 's,[@]gksuprog[@],$(GKSUPROG),g'
gparted.desktop.in: gparted.desktop.in.in Makefile
$(do_subst) < $(srcdir)/gparted.desktop.in.in > gparted.desktop.in
gparted: gparted.in Makefile
$(do_subst) < $(srcdir)/gparted.in > gparted
chmod +x gparted
dist-hook:
@if test -d "$(srcdir)/.git"; \
then \
echo Creating ChangeLog && \
( cd "$(top_srcdir)" && \
echo '# Generated by Makefile. Do not edit.'; echo; \
$(top_srcdir)/missing --run git log --stat GPARTED_0_4_4.. \
) > ChangeLog.tmp \
&& cat $(top_srcdir)/ChangeLog >> ChangeLog.tmp \
&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
|| ( rm -f ChangeLog.tmp ; \
echo Failed to generate ChangeLog >&2 ); \
else \
echo A git clone is required to generate a ChangeLog >&2; \
fi
EXTRA_DIST = \
$(DESKTOP_IN_IN_FILES) \
$(DESKTOP_FILES) \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
gparted.in \
gnome-doc-utils.make
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update \
$(desktop_DATA) \
gnome-doc-utils.make
DISTCHECK_CONFIGURE_FLAGS = \
--disable-scrollkeeper