]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/gnome2-console/Makefile.in
Use the command line utility dropdb instead of the psql command
[bacula/bacula] / bacula / src / gnome2-console / Makefile.in
index 9dd461294a621b8f9952b6d2a1d8bced4ab4d68f..1977f1cc18ecc872f716dbfa7618b7379659b4c0 100644 (file)
@@ -49,7 +49,7 @@ CONS_LDFLAGS=$(GNOME_LIBDIR) $(GNOMEUI_LIBS)
 .c.o:
        $(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) $(CONS_INC) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) $<
 #-------------------------------------------------------------------------
-all: Makefile gnome-console @STATIC_CONS@
+all: Makefile gnome-console @STATIC_GNOME_CONS@
        @echo "==== Make of gnome-console is good ===="
        @echo " "
 
@@ -76,7 +76,7 @@ Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
 
 clean:
        @$(RMF) gnome-console core core.* a.out *.o *.bak *~ *.intpro *.extpro 1 2 3
-       @$(RMF) static-gnome-console
+       @$(RMF) static-gnome-console gmon.out
 
 realclean: clean
        @$(RMF) tags
@@ -97,9 +97,12 @@ install: all
        fi; \
        echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf"; \
        ${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf
+       if test -f static-gnome-console; then \
+          $(INSTALL_SCRIPT) static-gnome-console $(DESTDIR)$(sbindir)/static-gnome-console; \
+       fi 
 
 uninstall:
-       (cd $(DESTDIR)$(sbindir); $(RMF) gnome-console)
+       (cd $(DESTDIR)$(sbindir); $(RMF) gnome-console static-gnome-console)
        (cd $(DESTDIR)$(sysconfdir); $(RMF) gnome-console.conf gnome-console.conf.new)