"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "makefile.macosx" between
multitail-6.4.2.tgz and multitail-6.5.0.tgz

About: multitail lets you view one or multiple files like the original tail program.

makefile.macosx  (multitail-6.4.2.tgz):makefile.macosx  (multitail-6.5.0.tgz)
include version include version
CONFIG_FILE=$(DESTDIR)/etc/multitail.conf CONFIG_FILE=$(DESTDIR)/usr/local/etc/multitail.conf
DEBUG=#-g -D_DEBUG #-pg #-fprofile-arcs DEBUG:=#XXX -g -D_DEBUG #-pg -Wpedantic # -pg #-fprofile-arcs
LDFLAGS=-lpanel -lncurses -lm $(DEBUG) LDFLAGS=-lpanel -lm $(DEBUG)
CFLAGS=-O2 -D$(shell uname) -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$( CPPFLAGS:=$(shell pkg-config --cflags ncurses)
CONFIG_FILE)\" NCURSES_LIB:=$(shell pkg-config --libs ncurses)
# pkg-config --libs --cflags ncurses
# -D_DARWIN_C_SOURCE -I/opt/local/include -L/opt/local/lib -lncurses
PLATFORM:=$(shell uname)
CFLAGS=-O2 -Wall -Wextra -std=c99 -D$(PLATFORM) -DVERSION=\"$(VERSION)\" $(DEBUG
) -DCONFIG_FILE=\"$(CONFIG_FILE)\"
OBJS=utils.o mt.o error.o my_pty.o term.o scrollback.o help.o mem.o cv.o selbox. o stripstring.o color.o misc.o ui.o exec.o diff.o config.o cmdline.o globals.o h istory.o xclip.o OBJS=utils.o mt.o error.o my_pty.o term.o scrollback.o help.o mem.o cv.o selbox. o stripstring.o color.o misc.o ui.o exec.o diff.o config.o cmdline.o globals.o h istory.o clipboard.o
all: multitail all: multitail
multitail: $(OBJS) multitail: $(OBJS)
$(CC) -Wall -W $(OBJS) $(LDFLAGS) -o multitail $(CC) -Wall -W $(OBJS) $(NCURSES_LIB) $(LDFLAGS) -o multitail
install: multitail install: multitail
cp multitail $(DESTDIR)/usr/bin cp multitail $(DESTDIR)/usr/local/bin
cp multitail.1 $(DESTDIR)/usr/share/man/man1/multitail.1 cp multitail.1 $(DESTDIR)/usr/local/share/man/man1/multitail.1
# #
### COPIED multitail.conf.new, YOU NEED TO REPLACE THE multitail.conf ### COPIED multitail.conf.new, YOU NEED TO REPLACE THE multitail.conf
### YOURSELF WITH THE NEW FILE ### YOURSELF WITH THE NEW FILE
# #
cp multitail.conf $(DESTDIR)/etc/multitail.conf.new cp multitail.conf $(DESTDIR)/usr/local/etc/multitail.conf.new
mkdir -p $(DESTDIR)/usr/share/doc/multitail-$(VERSION) mkdir -p $(DESTDIR)/usr/local/share/doc/multitail-$(VERSION)
cp *.txt INSTALL manual.html $(DESTDIR)/usr/share/doc/multitail-$(VERSION cp *.txt INSTALL manual.html $(DESTDIR)/usr/local/share/doc/multitail-$(V
) ERSION)
# #
# +-=-------------------------------------------------------------=-+ # +-=-------------------------------------------------------------=-+
# | There's a mailinglist! | # | There's a mailinglist! |
# | Send an e-mail to minimalist@vanheusden.com with in the subject | # | Send an e-mail to minimalist@vanheusden.com with in the subject |
# | 'subscribe multitail' to subscribe. | # | 'subscribe multitail' to subscribe. |
# +-=-------------------------------------------------------------=-+ # +-=-------------------------------------------------------------=-+
# #
# you might want to run 'make thanks' now :-) # you might want to run 'make thanks' now :-)
# #
# http://www.vanheusden.com/wishlist.php # http://www.vanheusden.com/wishlist.php
uninstall: clean uninstall: clean
rm -f $(DESTDIR)/usr/bin/multitail rm -f $(DESTDIR)/usr/local/bin/multitail
rm -f $(DESTDIR)/usr/share/man/man1/multitail.1 rm -f $(DESTDIR)/usr/local/share/man/man1/multitail.1
rm -rf $(DESTDIR)/usr/share/doc/multitail-$(VERSION) rm -rf $(DESTDIR)/usr/local/share/doc/multitail-$(VERSION)
clean: clean:
rm -f $(OBJS) multitail core rm -f $(OBJS) multitail core
macosxbinpackage: multitail
# as it is rather tricky to install something in /etc on MacOS X,
# we're skipping it here
rm -rf usr
mkdir -p usr/bin
mkdir -p usr/share/man/man1
mkdir -p usr/share/doc/multitail-$(VERSION)
cp multitail usr/bin
cp multitail.1 usr/share/man/man1
cp *.txt INSTALL manual.html usr/share/doc/multitail-$(VERSION)
tar cvzf multitail-$(VERSION)-macosx.tgz usr
rm -rf usr
package: clean package: clean
# source package # source package
rm -rf multitail-$(VERSION)* rm -rf multitail-$(VERSION)*
mkdir multitail-$(VERSION) mkdir multitail-$(VERSION)
cp *.c *.h multitail.1 manual.html Makefile makefile.* Changes INSTALL li cense.txt readme.txt multitail-$(VERSION) cp *.c *.h multitail.1 manual.html Makefile makefile.* Changes INSTALL li cense.txt readme.txt multitail-$(VERSION)
tar czf multitail-$(VERSION).tgz multitail-$(VERSION) tar czf multitail-$(VERSION).tgz multitail-$(VERSION)
rm -rf multitail-$(VERSION) rm -rf multitail-$(VERSION)
thanks: thanks:
echo Automatic thank you e-mail for multitail $(VERSION) on a `uname -a` | mail -s "multitail $(VERSION)" folkert@vanheusden.com echo Automatic thank you e-mail for multitail $(VERSION) on a `uname -a` | mail -s "multitail $(VERSION)" folkert@vanheusden.com
 End of changes. 8 change blocks. 
29 lines changed or deleted 21 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)