pgvector.git / summary / log / commit / refs

commit    6d4ac36d50cf359598600df544b91a773a8a75b9
Author:   Andrew Kane <andrew@ankane.org>
Date:     Fri Dec 23 17:18:25 2022 +0000

    Added uninstall task for Windows [skip ci]


.github/workflows/build.yml | 1 + Makefile.win | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a6e8c2f..3ec0865c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,4 +58,5 @@ jobs: nmake /NOLOGO /F Makefile.win install nmake /NOLOGO /F Makefile.win installcheck nmake /NOLOGO /F Makefile.win clean + nmake /NOLOGO /F Makefile.win uninstall shell: cmd diff --git a/Makefile.win b/Makefile.win index 7bbdf9da..b2426025 100644 --- a/Makefile.win +++ b/Makefile.win @@ -55,6 +55,11 @@ install: installcheck: "$(BINDIR)\pg_regress" --bindir="$(BINDIR)" $(REGRESS_OPTS) $(REGRESS) +uninstall: + rm -f "$(PKGLIBDIR)\$(SHLIB)" + rm -f "$(SHAREDIR)\extension\$(EXTENSION).control" + rm -f "$(SHAREDIR)\extension\vector--*.sql" + clean: rm -f $(SHLIB) $(EXTENSION).lib $(EXTENSION).exp rm -f $(OBJS) [parent: e2f33dfdba2c]