Skip to content

Instantly share code, notes, and snippets.

View AndreaRigoni's full-sized avatar
👻
= ☕ + 💻

Andrea Rigoni AndreaRigoni

👻
= ☕ + 💻
View GitHub Profile
@AndreaRigoni
AndreaRigoni / setup.cfg
Created February 13, 2020 13:27
custom setuptools command and options - setup.cfg setup.py
[prova]
opzione = 1
@AndreaRigoni
AndreaRigoni / Makefile.am
Last active September 12, 2018 12:24
include a local variable for each target
inlcude common.mk
MYVAR = one
print:
@ echo $(MYVAR)
## this should return: one two three
@AndreaRigoni
AndreaRigoni / svn-to-git.md
Created April 14, 2018 09:19 — forked from barrysteyn/svn-to-git.md
Migrate From SVN To GIT
@AndreaRigoni
AndreaRigoni / configure.ac
Created June 21, 2017 14:21
Read data from m4 into a variable
VARIABLE=variable
AC_INIT([test], 1.0)
AC_DEFUN([prova],
$ $$ \$ "" ${VARIABLE}
# commento
)
AC_DEFUN([AS_VAR_READ],[
@AndreaRigoni
AndreaRigoni / configure.ac
Last active March 18, 2016 10:18
Looking for mdsplus everywhere ..
# ///////////////////////////////////////////////////////////////////////////////////////////////// #
# ///// MDSPLUS ///////////////////////////////////////////////////////////////////////////////// #
# ///////////////////////////////////////////////////////////////////////////////////////////////// #
AC_ARG_ENABLE([mdsplus-build],
[AS_HELP_STRING([--enable-mdsplus-build],[build mdsplus as submodule])])
AS_VAR_SET_IF([enable_mdsplus_build],[
echo "ENABLE SUBMODULE MDSPLUS"
pushd ${srcdir}; source ./conf/update_submodules.sh; popd