Skip to content

"make distclean" didn't remove sqlite3session.h #30

@tjyang

Description

@tjyang

Not a developer but shouldn't "make distclean" remove all artifacts created by ./configure && make ?

  • See following steps
./configure && make
make distclean

[me@ipa01 libsql]$ git status
On branch main
Your branch is up to date with 'origin/main'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        sqlite3session.h

nothing added to commit but untracked files present (use "git add" to track)
[me@ipa01 libsql]$

  • One-liner fix to enable distclean to delete sqlite3session.h
[me@ipa01 libsql]$ git diff Makefile.in
diff --git a/Makefile.in b/Makefile.in
index cc4943f2c..617005561 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1501,7 +1501,7 @@ clean:
        rm -f threadtest5

 distclean:     clean
-       rm -f config.h config.log config.status libtool Makefile sqlite3.pc \
+       rm -f config.h config.log config.status libtool Makefile sqlite3.pc sqlite3session.h \
                $(TESTPROGS)

 #
[me@ipa01 libsql]$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions