"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Makefile" between
bed-3.0.3.src.tar.xz and bed-3.1.0.src.tar.xz

About: bed is an adjustable data format binary editor.

Makefile  (bed-3.0.3.src.tar.xz):Makefile  (bed-3.1.0.src.tar.xz)
skipping to change at line 93 skipping to change at line 93
ifeq ($(DESTDIR),) ifeq ($(DESTDIR),)
ifeq ($(HAS_FILE),y) ifeq ($(HAS_FILE),y)
@bash ./addmagic @bash ./addmagic
endif endif
ifeq ($(CONFIG_PROGMAN),y) ifeq ($(CONFIG_PROGMAN),y)
update-menus update-menus
endif endif
endif endif
installfiles: $(CONFFILE) #$(LSMFILE) installfiles: $(CONFFILE) #$(LSMFILE)
ifeq ($(CYGWIN),yes) ifeq ($(WINDOWS),yes)
cd "c:\\" cd "c:\\"
endif endif
-$(MKDIR) $(ROOTDIR)$(BINDIR) -$(MKDIR) $(ROOTDIR)$(BINDIR)
-rm $(ROOTDIR)$(BINDIR)/$(EXEPROGRAM) -rm $(ROOTDIR)$(BINDIR)/$(EXEPROGRAM)
$(CP) src/$(EXEPROGRAM) $(ROOTDIR)$(BINDIR) $(CP) src/$(EXEPROGRAM) $(ROOTDIR)$(BINDIR)
$(STRIP) $(ROOTDIR)$(BINDIR)/$(EXEPROGRAM) $(STRIP) $(ROOTDIR)$(BINDIR)/$(EXEPROGRAM)
-rm $(ROOTDIR)$(CONFDIRLINK) -rm $(ROOTDIR)$(CONFDIRLINK)
-mv -f $(ROOTDIR)$(CONFDIRLINK) $(ROOTDIR)$(CONFDIRLINK).bak -mv -f $(ROOTDIR)$(CONFDIRLINK) $(ROOTDIR)$(CONFDIRLINK).bak
-$(MKDIR) $(ROOTDIR)$(CONFDIR) -$(MKDIR) $(ROOTDIR)$(CONFDIR)
ifneq ($(CYGWIN),yes) ifneq ($(WINDOWS),yes)
$(MKDIR) `dirname $(ROOTDIR)$(CONFDIRLINK)` $(MKDIR) `dirname $(ROOTDIR)$(CONFDIRLINK)`
-mv $(ROOTDIR)$(CONFDIR)/$(CONFFILE) $(ROOTDIR)$(CONFDIR)/~$(CONFFILE) -mv $(ROOTDIR)$(CONFDIR)/$(CONFFILE) $(ROOTDIR)$(CONFDIR)/~$(CONFFILE)
endif endif
$(CP) $(CONFFILE) $(ROOTDIR)$(CONFDIR) $(CP) $(CONFFILE) $(ROOTDIR)$(CONFDIR)
grep BUILDEXEEXT build > $(ROOTDIR)$(CONFDIR)/build grep BUILDEXEEXT build > $(ROOTDIR)$(CONFDIR)/build
echo "HAS_FILE := $(shell $(BEDSRCDIR)/has_file)" >> $(ROOTDIR)$(CONFDIR) /build echo "HAS_FILE := $(shell $(BEDSRCDIR)/has_file)" >> $(ROOTDIR)$(CONFDIR) /build
chmod 0644 $(ROOTDIR)$(CONFDIR)/$(CONFFILE) chmod 0644 $(ROOTDIR)$(CONFDIR)/$(CONFFILE)
$(MAKE) -C doc install ROOTDIR=$(ROOTDIR) $(MAKE) -C doc install ROOTDIR=$(ROOTDIR)
$(MAKE) -C misc install ROOTDIR=$(ROOTDIR) $(MAKE) -C misc install ROOTDIR=$(ROOTDIR)
ifeq ($(CONFIG_XBED),y) ifeq ($(CONFIG_XBED),y)
skipping to change at line 125 skipping to change at line 125
endif endif
ifeq ($(CONFIG_PLUGIN),y) ifeq ($(CONFIG_PLUGIN),y)
$(MAKE) -C utils install ROOTDIR=$(ROOTDIR) $(MAKE) -C utils install ROOTDIR=$(ROOTDIR)
$(MAKE) -C plugins install ROOTDIR=$(ROOTDIR) $(MAKE) -C plugins install ROOTDIR=$(ROOTDIR)
else else
ifeq ($(DISASS_USE),y) ifeq ($(DISASS_USE),y)
$(CP) plugins/examples/disass-use* $(ROOTDIR)$(CONFDIR) $(CP) plugins/examples/disass-use* $(ROOTDIR)$(CONFDIR)
endif endif
endif endif
ifneq ($(CYGWIN),yes) ifneq ($(WINDOWS),yes)
ifeq ($(CONFIG_PLUGIN),y) ifeq ($(CONFIG_PLUGIN),y)
ifeq ($(HAVE_LN_R),n) ifeq ($(HAVE_LN_R),n)
-$(SYMLINK) -s $(BINDIR)/$(PROGRAM) $(ROOTDIR)$(CONFDIR)/utils/keyconfi g -$(SYMLINK) -s $(BINDIR)/$(PROGRAM) $(ROOTDIR)$(CONFDIR)/utils/keyconfi g
else else
-$(SYMLINK) -r -s $(ROOTDIR)$(BINDIR)/$(PROGRAM) $(ROOTDIR)$(CONFDIR)/ut ils/keyconfig -$(SYMLINK) -r -s $(ROOTDIR)$(BINDIR)/$(PROGRAM) $(ROOTDIR)$(CONFDIR)/ut ils/keyconfig
endif endif
else else
ifeq ($(HAVE_LN_R),n) ifeq ($(HAVE_LN_R),n)
-$(SYMLINK) -s $(BINDIR)/$(PROGRAM) $(ROOTDIR)$(CONFDIR)/keyconfig -$(SYMLINK) -s $(BINDIR)/$(PROGRAM) $(ROOTDIR)$(CONFDIR)/keyconfig
else else
skipping to change at line 184 skipping to change at line 184
endif endif
ifeq ($(CONFIG_PROGMAN),y) ifeq ($(CONFIG_PROGMAN),y)
# cp bed.xpm $(ROOTDIR)$(ICONPATH) # cp bed.xpm $(ROOTDIR)$(ICONPATH)
# cp bedsmall.xpm $(ROOTDIR)$(ICONPATH)/mini/bed.xpm # cp bedsmall.xpm $(ROOTDIR)$(ICONPATH)/mini/bed.xpm
$(MKDIR) $(ROOTDIR)$(MENUPATH) $(MKDIR) $(ROOTDIR)$(MENUPATH)
cp bed.menu $(ROOTDIR)$(MENUPATH)/$(PROGRAM) cp bed.menu $(ROOTDIR)$(MENUPATH)/$(PROGRAM)
chmod 0644 $(ROOTDIR)$(MENUPATH)/$(PROGRAM) chmod 0644 $(ROOTDIR)$(MENUPATH)/$(PROGRAM)
# @rpm -q $(PROGRAM)|| echo Warning!! Desktop entries not created if no pac kage $(PROGRAM) exists # @rpm -q $(PROGRAM)|| echo Warning!! Desktop entries not created if no pac kage $(PROGRAM) exists
endif endif
ifneq ($(CYGWIN),yes) ifneq ($(WINDOWS),yes)
ifeq ($(SYSTEM),FreeBSD) ifeq ($(SYSTEM),FreeBSD)
$(SYMLINK) -r -f $(ROOTDIR)$(CONFDIR) $(ROOTDIR)$(CONFDIRLINK) $(SYMLINK) -r -f $(ROOTDIR)$(CONFDIR) $(ROOTDIR)$(CONFDIRLINK)
else else
ifeq ($(HAVE_LN_R),n) ifeq ($(HAVE_LN_R),n)
$(SYMLINK) -T -f $(CONFDIR) $(ROOTDIR)$(CONFDIRLINK) $(SYMLINK) -T -f $(CONFDIR) $(ROOTDIR)$(CONFDIRLINK)
else else
$(SYMLINK) -r -T -f $(ROOTDIR)$(CONFDIR) $(ROOTDIR)$(CONFDIRLINK) $(SYMLINK) -r -T -f $(ROOTDIR)$(CONFDIR) $(ROOTDIR)$(CONFDIRLINK)
endif endif
endif endif
endif endif
ifeq ($(SYSTEM),Android) ifeq ($(SYSTEM),Android)
-$(MKDIR) $(ROOTDIR)$(BASEDIR)/tmp -$(MKDIR) $(ROOTDIR)$(BASEDIR)/tmp
-chmod 01777 $(ROOTDIR)$(BASEDIR)/tmp -chmod 01777 $(ROOTDIR)$(BASEDIR)/tmp
endif endif
ifneq ($(CYGWIN),yes) ifneq ($(WINDOWS),yes)
@cp uninstallhead $(ROOTDIR)$(CONFDIR)/uninstallbed.sh @cp uninstallhead $(ROOTDIR)$(CONFDIR)/uninstallbed.sh
@FILES=`for afile in $(BINDIST); do test -e $$afile -o -L $$afile&&echo $$afile ;done`;if test . != .$(ROOTDIR); then SLASHROOT=`echo $(ROOTDIR)| sed -e 's/\\//\\\\\\//g'`;fi;find $$FILES ! -type d -print |if test . != .$(ROOTDIR); then sed -e "s/$$SLASHROOT//g";else cat;fi |xargs echo $(REMOVE) ' ' >> $(ROOTDI R)$(CONFDIR)/uninstallbed.sh ;find $$FILES -type d -a -print| if test . != .$ (ROOTDIR);then sed -e "s/$$SLASHROOT//g";else cat;fi |$(SORT) -r|xargs echo $(RM DIR) ' ' >> $(ROOTDIR)$(CONFDIR)/uninstallbed.sh @FILES=`for afile in $(BINDIST); do test -e $$afile -o -L $$afile&&echo $$afile ;done`;if test . != .$(ROOTDIR); then SLASHROOT=`echo $(ROOTDIR)| sed -e 's/\\//\\\\\\//g'`;fi;find $$FILES ! -type d -print |if test . != .$(ROOTDIR); then sed -e "s/$$SLASHROOT//g";else cat;fi |xargs echo $(REMOVE) ' ' >> $(ROOTDI R)$(CONFDIR)/uninstallbed.sh ;find $$FILES -type d -a -print| if test . != .$ (ROOTDIR);then sed -e "s/$$SLASHROOT//g";else cat;fi |$(SORT) -r|xargs echo $(RM DIR) ' ' >> $(ROOTDIR)$(CONFDIR)/uninstallbed.sh
@echo Uninstall with sh $(ROOTDIR)$(CONFDIR)/uninstallbed.sh @echo Uninstall with sh $(ROOTDIR)$(CONFDIR)/uninstallbed.sh
endif endif
@echo Binary: '$(ROOTDIR)$(BINDIR)/$(EXEPROGRAM)' @echo Binary: '$(ROOTDIR)$(BINDIR)/$(EXEPROGRAM)'
@echo Support files: $(ROOTDIR)$(CONFDIR) @echo Support files: $(ROOTDIR)$(CONFDIR)
cleanhere: cleanhere:
-rm $(REGEX_DIR)/regex.o hosttest$(BUILDEXEEXT) has_appl$(BUILDEXEEXT) h as_file$(BUILDEXEEXT) -rm $(REGEX_DIR)/regex.o hosttest$(BUILDEXEEXT) has_appl$(BUILDEXEEXT) h as_file$(BUILDEXEEXT)
clean: cleanhere clean: cleanhere
skipping to change at line 446 skipping to change at line 446
$(MKDIR) $(PKGROOT)/SPECS $(MKDIR) $(PKGROOT)/SPECS
cp $(PROGRAM)-$(VERSION).spec $(PKGROOT)/SPECS/$(PROGRAM)-$(VERSION).spe c cp $(PROGRAM)-$(VERSION).spec $(PKGROOT)/SPECS/$(PROGRAM)-$(VERSION).spe c
$(PKG) $(PKGFLAGS) $(PROGRAM)-$(VERSION).spec $(PKG) $(PKGFLAGS) $(PROGRAM)-$(VERSION).spec
package: Makefile package: Makefile
$(RPM) --short-circuit $(RPMFLAGS) $(PROGRAM)-$(VERSION).spec $(RPM) --short-circuit $(RPMFLAGS) $(PROGRAM)-$(VERSION).spec
installrpm: installrpm:
$(RPM) --short-circuit --sign -bi $(PROGRAM)-$(VERSION).spec $(RPM) --short-circuit --sign -bi $(PROGRAM)-$(VERSION).spec
ifneq ($(CYGWIN),yes) ifneq ($(WINDOWS),yes)
CONFFILESH=mkbedrc.sh CONFFILESH=mkbedrc.sh
else else
CONFFILESH=mkbedrc95.sh CONFFILESH=mkbedrc95.sh
endif endif
$(CONFFILE):$(CONFFILESH) plugins/examples/Makefile config $(CONFFILE):$(CONFFILESH) plugins/examples/Makefile config
$(MAKE) -C plugins/examples ingive $(MAKE) -C plugins/examples ingive
env INLINKALL="$(INLINKALL)" HAS_X=$(HAS_X) CONFIG_LINKINPLUGINS=$(CONFIG _LINKINPLUGINS) CONFIG_PLUGIN=$(CONFIG_PLUGIN) CONFIG_THREADS=$(CONFIG_THREADS) PDCURSES=$(PDCURSES) CONFDIRLINK=$(CONFDIRLINK) CONFDIR=$(CONFDIR) bash $(CONFFI LESH)> $(CONFFILE) env INLINKALL="$(INLINKALL)" HAS_X=$(HAS_X) CONFIG_LINKINPLUGINS=$(CONFIG _LINKINPLUGINS) CONFIG_PLUGIN=$(CONFIG_PLUGIN) CONFIG_THREADS=$(CONFIG_THREADS) PDCURSES=$(PDCURSES) CONFDIRLINK=$(CONFDIRLINK) CONFDIR=$(CONFDIR) bash $(CONFFI LESH)> $(CONFFILE)
ifeq ($(CYGWIN),yes) ifeq ($(WINDOWS),yes)
u2d $(CONFFILE) u2d $(CONFFILE)
endif endif
#s/\$(CONFFILESH)/mkbedrc.sh/g #s/\$(CONFFILESH)/mkbedrc.sh/g
unixbedrc:$(CONFFILESH) plugins/examples/Makefile config unixbedrc:$(CONFFILESH) plugins/examples/Makefile config
$(MAKE) -C plugins/examples ingive $(MAKE) -C plugins/examples ingive
env HAS_X=$(HAS_X) CONFIG_LINKINPLUGINS=$(CONFIG_LINKINPLUGINS) CONFIG_PL UGIN=$(CONFIG_PLUGIN) CONFIG_THREADS=$(CONFIG_THREADS) PDCURSES=$(PDCURSES) CONF DIRLINK=$(CONFDIRLINK) CONFDIR=$(CONFDIR) bash mkbedrc.sh> unixbedrc env HAS_X=$(HAS_X) CONFIG_LINKINPLUGINS=$(CONFIG_LINKINPLUGINS) CONFIG_PL UGIN=$(CONFIG_PLUGIN) CONFIG_THREADS=$(CONFIG_THREADS) PDCURSES=$(PDCURSES) CONF DIRLINK=$(CONFDIRLINK) CONFDIR=$(CONFDIR) bash mkbedrc.sh> unixbedrc
ifeq ($(CYGWIN),yes) ifeq ($(WINDOWS),yes)
u2d unixbedrc u2d unixbedrc
endif endif
DATE=`date +%M-%H-%d-%m-%Y` DATE=`date +%M-%H-%d-%m-%Y`
backup: backup:
date > ../backup/backupfile.start date > ../backup/backupfile.start
tar --use-compress-program="xz -ze" -cf ../backup/$(PROGRAM)-$(VERSION).b ackup.tar.xz-$(DATE) -N `cat ../backup/backupfile` `find . ! -name *.o* -a ! -na me core -a ! -name *.plug -a ! -type d -a ! -path ./src/$(PROGRAM) -a -printf %p ` tar --use-compress-program="xz -ze" -cf ../backup/$(PROGRAM)-$(VERSION).b ackup.tar.xz-$(DATE) -N `cat ../backup/backupfile` `find . ! -name *.o* -a ! -na me core -a ! -name *.plug -a ! -type d -a ! -path ./src/$(PROGRAM) -a -printf %p `
move ../backup/backupfile.start ../backup/backupfile move ../backup/backupfile.start ../backup/backupfile
fullbackup: fullbackup:
 End of changes. 8 change blocks. 
8 lines changed or deleted 8 lines changed or added

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