Leftover junk

Matthew Selsky Matthew.Selsky at twosigma.com
Fri Dec 7 20:34:58 UTC 2018


On Fri, Dec 07, 2018 at 01:37:44PM -0600, Richard Laager via devel wrote:
> Traditionally, there has often been a "make uninstall" target that
> removes everything that "make install" installs. Does NTPsec have a
> ./waf uninstall?

Yes. Waf provides it as a built-in.

$ ./waf uninstall
--- uninstalling host ---
Waf: Entering directory `/home/selsky/src/ntpsec/build/host'
Waf: Leaving directory `/home/selsky/src/ntpsec/build/host'
--- uninstalling main ---
Waf: Entering directory `/home/selsky/src/ntpsec/build/main'
- remove /usr/local/lib/python2.7/dist-packages/ntp/ntpc.so
- remove /usr/local/sbin/ntpd
- remove /usr/local/bin/ntpfrob
- remove /usr/local/bin/ntptime
- remove /usr/local/lib/python2.7/dist-packages/ntp/__init__.py
- remove /usr/local/lib/python2.7/dist-packages/ntp/__init__.pyc
- remove /usr/local/lib/python2.7/dist-packages/ntp/__init__.pyo
- remove /usr/local/lib/python2.7/dist-packages/ntp/agentx.py
- remove /usr/local/lib/python2.7/dist-packages/ntp/agentx.pyc
- remove /usr/local/lib/python2.7/dist-packages/ntp/agentx.pyo
- remove /usr/local/lib/python2.7/dist-packages/ntp/agentx_packet.py
- remove /usr/local/lib/python2.7/dist-packages/ntp/agentx_packet.pyc
- remove /usr/local/lib/python2.7/dist-packages/ntp/agentx_packet.pyo
- remove /usr/local/lib/python2.7/dist-packages/ntp/packet.py
- remove /usr/local/lib/python2.7/dist-packages/ntp/packet.pyc
- remove /usr/local/lib/python2.7/dist-packages/ntp/packet.pyo
- remove /usr/local/lib/python2.7/dist-packages/ntp/poly.py
- remove /usr/local/lib/python2.7/dist-packages/ntp/poly.pyc
- remove /usr/local/lib/python2.7/dist-packages/ntp/poly.pyo
- remove /usr/local/lib/python2.7/dist-packages/ntp/statfiles.py
- remove /usr/local/lib/python2.7/dist-packages/ntp/statfiles.pyc
- remove /usr/local/lib/python2.7/dist-packages/ntp/statfiles.pyo
- remove /usr/local/lib/python2.7/dist-packages/ntp/util.py
- remove /usr/local/lib/python2.7/dist-packages/ntp/util.pyc
- remove /usr/local/lib/python2.7/dist-packages/ntp/util.pyo
- remove /usr/local/lib/python2.7/dist-packages/ntp/control.py
- remove /usr/local/lib/python2.7/dist-packages/ntp/control.pyc
- remove /usr/local/lib/python2.7/dist-packages/ntp/control.pyo
- remove /usr/local/lib/python2.7/dist-packages/ntp/magic.py
- remove /usr/local/lib/python2.7/dist-packages/ntp/magic.pyc
- remove /usr/local/lib/python2.7/dist-packages/ntp/magic.pyo
- remove /usr/local/bin/ntpleapfetch
- remove /usr/local/bin/ntploggps
- remove /usr/local/bin/ntpdig
- remove /usr/local/bin/ntpkeygen
- remove /usr/local/bin/ntpq
- remove /usr/local/bin/ntpsweep
- remove /usr/local/bin/ntptrace
- remove /usr/local/bin/ntpviz
- remove /usr/local/bin/ntpwait
- remove /usr/local/bin/ntplogtemp
- remove /usr/local/bin/ntpsnmpd
- remove /usr/local/bin/ntpmon
Waf: Leaving directory `/home/selsky/src/ntpsec/build/main'
'uninstall' finished successfully (0.090s)

We can add it to the output of "./waf help" if that makes it easier to discover.


Thanks,
-Matt


More information about the devel mailing list