mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
9207af342d
Ok, so this time I got the stuff to auto-load desktop startup links. This means you can ship stuff to pre-configure the desktop of the users now. We support program-based setup and url-links. Details on the lib/README.desktop file
80 lines
1.7 KiB
Makefile
80 lines
1.7 KiB
Makefile
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
rootdir = $(srcdir)/..
|
|
@MCFG@@MCF@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
#
|
|
# Distribution variables
|
|
#
|
|
|
|
LIBFILES_IN = mc.ext.in mc-gnome.ext.in
|
|
LIBFILES_OUT = mc.ext mc-gnome.ext
|
|
LIBFILES_CONST = mc.hint mc.lib mc.menu
|
|
DESKTOP_FILES = startup.links README.desktop
|
|
TIFILES = README.xterm linux.ti xterm.ad xterm.ti ansi.ti vt100.ti xterm.tcap
|
|
|
|
DISTLIB = \
|
|
$(LIBFILES_IN) \
|
|
$(LIBFILES_CONST) \
|
|
$(TIFILES) \
|
|
$(DESKTOP_FILES) \
|
|
Makefile.in tdiff \
|
|
xnc.hlp ncurses.h \
|
|
mc.sh mc.csh \
|
|
mcserv.init \
|
|
mcserv.pamd \
|
|
tkmc.wmconfig \
|
|
mc.ext.in.qnx.diff \
|
|
mc.global
|
|
|
|
all: Makefile
|
|
|
|
Makefile: ../config.status Makefile.in
|
|
(cd ..; CONFIG_FILES=lib/Makefile CONFIG_HEADERS= ./config.status)
|
|
|
|
check:
|
|
@echo no tests are supplied.
|
|
|
|
TAGS:
|
|
|
|
cross:
|
|
|
|
clean:
|
|
|
|
realclean:
|
|
|
|
distclean:
|
|
$(RMF) $(srcdir)/*~ $(srcdir)/Makefile
|
|
for I in $(LIBFILES_OUT); do $(RMF) $(srcdir)/$$I; done
|
|
|
|
install:
|
|
for I in $(LIBFILES_CONST); \
|
|
do $(INSTALL_DATA) $(srcdir)/$$I $(DESTDIR)$(libdir)/$$I; done
|
|
for I in $(LIBFILES_OUT); \
|
|
do $(INSTALL_DATA) $(builddir)/lib/$$I $(DESTDIR)$(libdir)/$$I; done
|
|
for I in $(TIFILES); \
|
|
do $(INSTALL_DATA) $(srcdir)/$$I $(DESTDIR)$(tidir)/$$I; done
|
|
$(MKINSTALLDIRS) $(DESTDIR)$(confdir)
|
|
$(INSTALL_DATA) $(srcdir)/mc.global $(DESTDIR)$(confdir)
|
|
$(MKINSTALLDIRS) $(DESTDIR)$(desktopdir)
|
|
for I in $(DESKTOP_FILES); \
|
|
do $(INSTALL_DATA) $(srcdir)/$$I $(DESTDIR)$(desktopdir)/$$I; done
|
|
|
|
uninstall:
|
|
for I in $(LIBFILES_OUT) $(LIBFILES_CONST); \
|
|
do $(RMF) $(DESTDIR)$(libdir)/$$I; done
|
|
for I in $(TIFILES); \
|
|
do $(RMF) $(DESTDIR)$(tidir)/$$I; done
|
|
-rmdir $(DESTDIR)$(tidir)
|
|
-rmdir $(DESTDIR)$(libdir)
|
|
|
|
distcopy:
|
|
$(CP) $(DISTLIB) ../../mc-$(VERSION)/lib
|
|
|
|
depend dep:
|