Changeset 3386

Show
Ignore:
Timestamp:
05/03/00 11:42:19 (14 years ago)
Author:
ucaccsp
Message:

Update "make installer" target

Location:
rat/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • rat/trunk/MODS

    r3385 r3386  
    12961296        - Add support for "-logstats" option, to log RTP and codec statistics 
    12971297          to a file. 
     1298        - Update "make installer" target 
    12981299 
    12991300 
  • rat/trunk/Makefile.in

    r3385 r3386  
    139139        -rm -f tcl_libs.c ui_audiotool.c ui_transcoder.c ui_installer.c version.h 
    140140        -rm -f tcl2c/tcl2c sdr2.plugin.S02.audio.rtp.-.$(RATVER) $(RATVER).spec 
    141         -rm -f bin2c bin2c.o binaries.c $(INSTALL_OBJS) 
     141        -rm -f bin2c bin2c.o binaries.c $(INSTALL_OBJS) $(RATVER)-installer 
    142142        -rm -f $(RATVER)-media $(RATVER)-ui $(RATVER) 
    143143 
     
    153153        ./install-sh -m 444 -c sdr2.plugin.S02.audio.rtp.-.$(RATVER) $(prefix)/etc/sdr/plugins 
    154154 
    155 installer: $(INSTALL_OBJS) 
     155installer: $(RATVER)-installer 
     156        mkdir release 
     157        mkdir release/$(RATVER) 
     158        cp $(RATVER)-installer README.* MODS COPYRIGHT INSTALL.TXT VERSION release/$(RATVER) 
     159        cd release && tar cvf $(RATVER)-$(OSTYPE).tar $(RATVER) && gzip -9 $(RATVER)-$(OSTYPE).tar 
     160        mv release/$(RATVER)-$(OSTYPE).tar.gz . 
     161        rm -rf release 
     162 
     163$(RATVER)-installer: $(INSTALL_OBJS) 
    156164        $(CC) $(CFLAGS) $(INSTALL_OBJS)  $(TCL_LIB) $(TK_LIB) $(X_LIB) $(LIBS) -o $(RATVER)-installer 
    157165