Diff for /rpm2html/Makefile.in between versions 1.48 and 1.49

version 1.48, 1998/06/04 05:07:40 version 1.49, 1998/06/05 04:22:08
Line 1 Line 1
 NAME    = rpm2html  NAME    = rpm2html
 VERSION = 0.94  VERSION = 0.95
   
 CC      = @CC@  CC      = @CC@
 #CC     = insure  #CC     = insure
Line 9  CFLAGS = @CFLAGS@ -Wall Line 9  CFLAGS = @CFLAGS@ -Wall
 #CFLAGS = -Wall -O6  #CFLAGS = -Wall -O6
   
 LDFLAGS = @LDFLAGS@  LDFLAGS = @LDFLAGS@
   LIBXML_FLAGS= @LIBXML_FLAGS@
   LIBXML_DIR= @LIBXML_DIR@
   
 INCL    = -I. -IXML  INCL    = -I. -I$(LIBXML_DIR)
   
 RM      = @RM@ -f  RM      = @RM@ -f
 MV      = @MV@   MV      = @MV@ 
Line 37  RDF_FILES=rdf.c rdf.h rdf_api.c rdf_api. Line 39  RDF_FILES=rdf.c rdf.h rdf_api.c rdf_api.
 MAKE_FILES= configure configure.in config.h.in Makefile.in \  MAKE_FILES= configure configure.in config.h.in Makefile.in \
             install-sh config.guess config.sub              install-sh config.guess config.sub
   
 FILES= Copyright README TODO INSTALL CHANGES PRINCIPLES \  FILES= Copyright BUGS README TODO INSTALL CHANGES PRINCIPLES \
        help.html config.c html.c html.h \         help.html config.c html.c html.h \
        rpm2html.c rpm2html.config rpm2html.h rpmdata.c rpmdata.h \         rpm2html.c rpm2html.config rpm2html.h rpmdata.c rpmdata.h \
        language.h language.c rdf.c rdf.h msg.fr msg.es msg.de \         language.h language.c rdf.c rdf.h msg.fr msg.es msg.de \
Line 51  all : rpm2html Line 53  all : rpm2html
   
 force:  force:
   
 XML/libxml.a: force  $(LIBXML_DIR)/libxml.a: force
         (cd XML; make CC="$(CC)" CFLAGS="$(CFLAGS)")          @(MAINDIR=`pwd` ; cd $(LIBXML_DIR); \
            make CC="$(CC)" CFLAGS="$(CFLAGS)" MAINDIR="$$MAINDIR")
   
 clean :  clean :
         $(RM) rpm2html compressor $(OBJS) rpm2html.o compressor.o \          $(RM) rpm2html compressor $(OBJS) rpm2html.o compressor.o \
               core errors.vim test/*                core errors.vim test/*
         (cd XML; make clean)          (cd $(LIBXML_DIR); make clean)
   
 rpm2html : rpm2html.o $(OBJS) XML/libxml.a  rpm2html : rpm2html.o $(OBJS) $(LIBXML_DIR)/libxml.a
         $(CC) $(LDFLAGS) $(CFLAGS) -o $@ rpm2html.o $(OBJS) -L. -LXML -lxml $(LIBS)          $(CC) $(LDFLAGS) $(CFLAGS) -o $@ rpm2html.o $(OBJS) -L. -L$(LIBXML_DIR) -lxml $(LIBS)
   
 compressor : compressor.o  compressor : compressor.o
         $(CC) $(CFLAGS) -o $@ compressor.o $(LIBS)          $(CC) $(CFLAGS) -o $@ compressor.o $(LIBS)
Line 78  depends .depends: dir.gif.h new.gif.h *. Line 81  depends .depends: dir.gif.h new.gif.h *.
         $(CC) $(CFLAGS) $(INCL) -c $<          $(CC) $(CFLAGS) $(INCL) -c $<
   
 install : rpm2html  install : rpm2html
         @(cd XML ; make install)          @(cd $(LIBXML_DIR) ; make install)
         @INSTALL@ rpm2html $(bindir)          @INSTALL@ rpm2html $(bindir)
         @INSTALL@ -m 644 rpm2html.1 $(mandir)/man1/          @INSTALL@ -m 644 rpm2html.1 $(mandir)/man1/
         if [ ! -d $(datadir)/$(NAME) ] ; then \          if [ ! -d $(datadir)/$(NAME) ] ; then \
Line 93  install : rpm2html Line 96  install : rpm2html
         @echo "Don't forget to edit $(sysconfdir)/rpm2html.config"          @echo "Don't forget to edit $(sysconfdir)/rpm2html.config"
   
 uninstall :  uninstall :
         @(cd XML ; make uninstall)          @(cd $(LIBXML_DIR) ; make uninstall)
         $(RM) $(bindir)/rpm2html          $(RM) $(bindir)/rpm2html
         $(RM) $(mandir)/man1/rpm2html.1          $(RM) $(mandir)/man1/rpm2html.1
         if [ "$(sysconfdir)" = "/usr/etc" ] ; then \          if [ "$(sysconfdir)" = "/usr/etc" ] ; then \
Line 105  uninstall : Line 108  uninstall :
   
 include .depends  include .depends
   
 rdf_api : rdf_api.c XML/libxml.a  rdf_api : rdf_api.c $(LIBXML_DIR)/libxml.a
         $(CC) $(CFLAGS) $(INCL) -DDEBUG_RDF -o rdf_api rdf_api.c -LXML -lxml           $(CC) $(CFLAGS) $(INCL) -DDEBUG_RDF -o rdf_api rdf_api.c -L$(LIBXML_DIR) -lxml 
   
 test tests : rpm2html  test tests : rpm2html
         rpm2html $(sysconfdir)/rpm2html.config          rpm2html $(sysconfdir)/rpm2html.config
   
 distrib : clean  distrib : clean
         @$(LN) . $(NAME)-$(VERSION)          @$(LN) . $(NAME)-$(VERSION)
           @(if [ "$(LIBXML_DIR)" != "" ] ; then \
             if [ "$(LIBXML_DIR)" != "XML" ] ; then \
                 $(LN) $(LIBXML_DIR) XML ; fi ; fi )
         @($(TAR) cvf - `for i in $(FILES); \          @($(TAR) cvf - `for i in $(FILES); \
           do echo $(NAME)-$(VERSION)/$$i ; \            do echo $(NAME)-$(VERSION)/$$i ; \
           done` | $(GZIP) > $(NAME)-$(VERSION).tar.gz)            done` | $(GZIP) > $(NAME)-$(VERSION).tar.gz)
         @$(RM) $(NAME)-$(VERSION)          @$(RM) $(NAME)-$(VERSION)
           @(if [ "$(LIBXML_DIR)" != "" ] ; then \
             if [ "$(LIBXML_DIR)" != "XML" ] ; then \
                 $(RM) XML ; fi ; fi )
   
   rpm : distrib
           cp $(NAME)-$(VERSION).tar.gz /usr/src/redhat/SOURCES/
           cp $(NAME).spec /usr/src/redhat/SPECS/
           (cd /usr/src/redhat/SPECS/ ; rpm -ba $(NAME).spec)
           ls -l /usr/src/redhat/SOURCES/$(NAME)-$(VERSION).tar.gz
           ls -l /usr/src/redhat/SRPMS/$(NAME)-$(VERSION)-*.src.rpm
           ls -l /usr/src/redhat/RPMS/i386/$(NAME)-$(VERSION)-*.i386.rpm
   

Removed from v.1.48  
changed lines
  Added in v.1.49


Webmaster