HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/platform/bq/third_party/gflags/Makefile
prep:
	@echo
	# Install needed packages
	sudo apt-get install subversion fakeroot python-setuptools python-subversion
	#
	@echo
	# Check that the person has .pypirc
	@if [ ! -e ~/.pypirc ]; then \
		echo "Please create a ~/.pypirc with the following contents:"; \
		echo "[server-login]"; \
		echo "username:google_opensource"; \
		echo "password:<see valentine>"; \
	fi
	#
	@echo
	# FIXME(tansell): Check that the person has .dputrc for PPA

clean:
	# Clean up any build files.
	python setup.py clean --all
	#
	# Clean up the debian stuff
	fakeroot ./debian/rules clean
	#
	# Clean up everything else
	rm MANIFEST || true
	rm -rf build-*
	#
	# Clean up the egg files
	rm -rf *egg*
	#
	# Remove dist
	rm -rf dist

dist:
	# Generate the tarball based on MANIFEST.in
	python setup.py sdist
	#
	# Build the debian packages
	fakeroot ./debian/rules binary
	mv ../python-gflags*.deb ./dist/
	#
	# Build the python Egg
	python setup.py bdist_egg
	#
	@echo
	@echo "Files to upload:"
	@echo "--------------------------"
	@ls -l ./dist/

push:
	# Send the updates to svn
	# Upload the source package to code.google.com
	- /home/build/opensource/tools/googlecode_upload.py \
		-p python-gflags ./dist/*
	#
	# Upload the package to PyPi
	- python setup.py sdist upload
	- python setup.py bdist_egg upload
	#
	# Upload the package to the ppa
	# FIXME(tansell): dput should run here

check:
	# Run all the tests.
	for test in tests/*.py; do PYTHONPATH=. python $$test || exit 1; done

.PHONY: prep dist clean push check