Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 16cc90c

Browse files
committed
Clean up garbage.
1 parent bc61550 commit 16cc90c

File tree

1 file changed

+10
-26
lines changed

1 file changed

+10
-26
lines changed

contrib/intarray/Makefile

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# $Header: /cvsroot/pgsql/contrib/intarray/Makefile,v 1.2 2001/01/13 02:18:31 petere Exp $
2+
13
subdir = contrib/intarray
24
top_builddir = ../..
35
include $(top_builddir)/src/Makefile.global
@@ -21,49 +23,31 @@ include $(top_srcdir)/src/Makefile.shlib
2123

2224

2325
$(NAME).sql: $(NAME).sql.in
24-
sed -e 's:MODULE_PATHNAME:$(libdir)/$(shlib):g' < $< > $@
26+
sed 's,MODULE_PATHNAME,$(libdir)/$(shlib),g' $< >$@
2527

2628
.PHONY: submake
2729
submake:
2830
$(MAKE) -C $(top_builddir)/src/test/regress pg_regress
2931

30-
# against installed postmaster
31-
installcheck: submake
32-
@echo "'make installcheck' is not supported."
33-
3432
installcheck: submake
3533
$(top_builddir)/src/test/regress/pg_regress _int
3634

37-
# in-tree test doesn't work yet (no way to install my shared library)
38-
#check: all submake
39-
# $(top_builddir)/src/test/regress/pg_regress --temp-install \
40-
# --top-builddir=$(top_builddir) _int
4135
check:
42-
@echo "'make check' is not supported."
43-
@echo "Do 'make install', then 'make installcheck' instead."
36+
@echo "'$(MAKE) check' is not supported."
37+
@echo "Do '$(MAKE) install', then '$(MAKE) installcheck' instead."
4438

4539
install: all installdirs install-lib
46-
#$(INSTALL_DATA) $(srcdir)/README.$(NAME) $(docdir)/contrib
40+
$(INSTALL_DATA) $(srcdir)/README.intarray $(docdir)/contrib
4741
$(INSTALL_DATA) $(NAME).sql $(datadir)/contrib
4842

4943
installdirs:
5044
$(mkinstalldirs) $(docdir)/contrib $(datadir)/contrib $(libdir)
5145

5246
uninstall: uninstall-lib
53-
rm -f $(docdir)/contrib/README.$(NAME) $(datadir)/contrib/$(NAME).sql
47+
rm -f $(docdir)/contrib/README.intarray $(datadir)/contrib/$(NAME).sql
5448

5549
clean distclean maintainer-clean: clean-lib
56-
rm -f *.so y.tab.c y.tab.h $(OBJS) $(NAME).sql
50+
rm -f $(OBJS) $(NAME).sql
5751
# things created by various check targets
58-
rm -rf results tmp_check log
59-
rm -f regression.diffs regression.out regress.out run_check.out
60-
ifeq ($(PORTNAME), win)
61-
rm -f regress.def
62-
endif
63-
64-
depend dep:
65-
$(CC) -MM $(CFLAGS) *.c >depend
66-
67-
ifeq (depend,$(wildcard depend))
68-
include depend
69-
endif
52+
rm -rf results
53+
rm -f regression.diffs regression.out

0 commit comments

Comments
 (0)